allowed_themes

allowed_themes

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

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('allowed_themes') is found 1 times:

  • /wp-includes/class-wp-theme.php line 1685
    		 * @since MU (3.0.0)
    		 *
    		 * @param string[] $allowed_themes An array of theme stylesheet names.
    		 */
    		$allowed_themes = apply_filters( 'allowed_themes', $allowed_themes );
    
    		return $allowed_themes;
    	}
    
    	/**
    	 * Returns array of stylesheet names of themes allowed on the site.
    

See this hook used in plugins: