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

Filters the array of themes allowed on the site.

Parameters Parameters


(string[]) An array of theme stylesheet names.


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

Top ↑

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
4.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.