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

$all

(WP_Theme[])Array of WP_Theme objects to display in the list table.


Top ↑

Source

File: wp-admin/includes/class-wp-ms-themes-list-table.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.