all_themes filter-hook . WP 3.1.0
Filters the full array of WP_Theme objects to list in the Multisite themes list table.
Usage
add_filter( 'all_themes', 'filter_function_name_7519' ); function filter_function_name_7519( $all ){ // filter... return $all; }
- $all(WP_Theme[])
- Array of WP_Theme objects to display in the list table.
Changelog
Since 3.1.0 | Introduced. |
Where the hook is called
all_themes
wp-admin/includes/class-wp-ms-themes-list-table.php 114
'all' => apply_filters( 'all_themes', wp_get_themes() ),