allowed_themes

allowed_themes

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('allowed_themes') is found 1 times:

  • /wp-includes/class-wp-theme.php line 1692
    1688
    1689
    1690
    1691
    1692
    1693
    1694
    1695
    1696
    1697
    1698
         * @since MU (3.0.0)
         *
         * @param string[] $allowed_themes An array of theme stylesheet names.
         */
        $allowed_themes = apply_filters( 'allowed_themes', $allowed_themes );
     
        return $allowed_themes;
    }
     
    /**
     * Returns array of stylesheet names of themes allowed on the site.

See this hook used in plugins: