network_allowed_themes

Advertisement

Summery Summery

Filters the array of themes allowed on the network.

Syntax Syntax

apply_filters( 'network_allowed_themes', string[] $allowed_themes, int $blog_id )

Description Description

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

Parameters Parameters

$allowed_themes

An array of theme stylesheet names.

$blog_id

ID of the site.

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.5.0 Introduced.

Advertisement

Leave a Reply