apply_filters( 'network_allowed_themes', array $allowed_themes, int $blog_id )

Filters the array of themes allowed on the network.


Description

Site is provided as context so that a list of network allowed themes can be filtered further.


Parameters

$allowed_themes

(array) An array of theme stylesheet names.

$blog_id

(int) ID of the site.


Source

File: wp-includes/class-wp-theme.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.5.0 Introduced.