Deprecated
This function has been deprecated.
ap_theme_list()
Description #
Get all theme names from AnsPress themes directory.
Source #
File: includes/deprecated.php
function ap_theme_list() { $themes = array(); $dirs = array_filter( glob( ANSPRESS_THEME_DIR . '/*' ), 'is_dir' ); foreach ( $dirs as $dir ) { $themes[ basename( $dir ) ] = basename( $dir ); } return $themes; }
Expand full source code Collapse full source code View on GitHub: includes/deprecated.php:996
Add your comment