all_themes WordPress Filter Hook
The all_themes hook is a great way to add custom functionality to your WordPress site. This hook allows you to add code that will be executed when all themes are loaded. This is a great place to add custom code that you want to be available to all themes on your site.
apply_filters( 'all_themes', WP_Theme[] $all ) #
Filters the full array of WP_Theme objects to list in the Multisite themes list table.
Parameters
Source
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |