Docs: Correct invalid hook docblocks.
See #48303 Built from https://develop.svn.wordpress.org/trunk@46603 git-svn-id: http://core.svn.wordpress.org/trunk@46400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
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