WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/02/2014 01:53:29 AM (7 years ago)
Author:
DrewAPicture
Message:

Inline documentation for hooks in wp-includes/class-wp-theme.php.

Props richard2222, kpdesign.
Fixes #26217.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-theme.php

    r26725 r26891  
    180180        // Initialize caching on first run.
    181181        if ( ! isset( self::$persistently_cache ) ) {
     182            /** This action is documented in wp-includes/theme.php */
    182183            self::$persistently_cache = apply_filters( 'wp_cache_themes_persistently', false, 'WP_Theme' );
    183184            if ( self::$persistently_cache ) {
     
    10871088     */
    10881089    public static function get_allowed( $blog_id = null ) {
     1090        /**
     1091         * Filter the array of themes allowed on the site or network.
     1092         *
     1093         * @since MU
     1094         *
     1095         * @param array $allowed_themes An array of theme stylesheet names.
     1096         */
    10891097        $network = (array) apply_filters( 'allowed_themes', self::get_allowed_on_network() );
    10901098        return $network + self::get_allowed_on_site( $blog_id );
Note: See TracChangeset for help on using the changeset viewer.