mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-02 03:34:33 +00:00
Docs: Correct invalid hook docblocks.
See #48303 git-svn-id: https://develop.svn.wordpress.org/trunk@46603 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2870,9 +2870,9 @@ function current_theme_supports( $feature, ...$args ) {
|
||||
*
|
||||
* @since 3.4.0
|
||||
*
|
||||
* @param bool true Whether the current theme supports the given feature. Default true.
|
||||
* @param array $args Array of arguments for the feature.
|
||||
* @param string $feature The theme feature.
|
||||
* @param bool $supports Whether the current theme supports the given feature. Default true.
|
||||
* @param array $args Array of arguments for the feature.
|
||||
* @param string $feature The theme feature.
|
||||
*/
|
||||
return apply_filters( "current_theme_supports-{$feature}", true, $args, $_wp_theme_features[ $feature ] ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user