network_allowed_themes

network_allowed_themes

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('network_allowed_themes') is found 1 times:

  • /wp-includes/class-wp-theme.php line 1661
    		 *
    		 * @param string[] $allowed_themes An array of theme stylesheet names.
    		 * @param int      $blog_id        ID of the site.
    		 */
    		$network = (array) apply_filters( 'network_allowed_themes', self::get_allowed_on_network(), $blog_id );
    		return $network + self::get_allowed_on_site( $blog_id );
    	}
    
    	/**
    	 * Returns array of stylesheet names of themes allowed on the network.
    	 *