themes_api

themes_api

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('themes_api') is found 1 times:

  • /wp-admin/includes/theme.php line 542
    	 * @param string             $action   Requested action. Likely values are 'theme_information',
    	 *                                    'feature_list', or 'query_themes'.
    	 * @param object             $args     Arguments used to query for installer pages from the Themes API.
    	 */
    	$res = apply_filters( 'themes_api', false, $action, $args );
    
    	if ( ! $res ) {
    		$url = 'http://api.wordpress.org/themes/info/1.2/';
    		$url = add_query_arg(
    			array(
    				'action'  => $action,
    

See this hook used in plugins: