Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/theme.php | apply_filters | 475 | /** * Filters whether to get the cache of the registered theme directories. * * @since 3.4.0 * * @param bool $cache_expiration Whether to get the cache of the theme directories. Default false. * @param string $context The class or function name calling the filter. */ |
wp-includes/class-wp-theme.php | apply_filters | 225 | /** * Constructor for WP_Theme. * * @since 3.4.0 * * @global array $wp_theme_directories * * @param string $theme_dir Directory of the theme within the theme_root. * @param string $theme_root Theme root. * @param WP_Theme|null $_child If this theme is a parent theme, the child may be passed for validation purposes. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
bool | $cache_expiration | Whether to get the cache of the theme directories. Default false. |
string | $context | The class or function name calling the filter. |