WP_Theme::get_allowed_on_site

SummerySummery

Returns array of stylesheet names of themes allowed on the site.

Syntax

WP_Theme::get_allowed_on_site( int $blog_id = null )

ParametersParameters

$blog_id

(int) (Optional) ID of the site. Defaults to the current site.

Default value: null

ReturnReturn

(string[]) Array of stylesheet names.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
3.4.0 Introduced.
Scroll to Top