Docs: Corrections and improvements to types used in docblocks for symbols, properties, and filters.

See #53399


git-svn-id: https://develop.svn.wordpress.org/trunk@51298 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2021-07-01 21:01:17 +00:00
parent 4d431f89d5
commit 28ea7b18cf
25 changed files with 48 additions and 52 deletions
+2 -3
View File
@@ -960,9 +960,8 @@ function unregister_block_style( $block_name, $block_style_name ) {
*
* @param WP_Block_Type $block_type Block type to check for support.
* @param string $feature Name of the feature to check support for.
* @param mixed $default Fallback value for feature support, defaults to false.
*
* @return boolean Whether or not the feature is supported.
* @param mixed $default Optional. Fallback value for feature support. Default false.
* @return bool Whether the feature is supported.
*/
function block_has_support( $block_type, $feature, $default = false ) {
$block_support = $default;