callback is not a valid type in PHP, PSR-5, or phpDocumentor. callable should be used instead.
Fixes #34032 Built from https://develop.svn.wordpress.org/trunk@34566 git-svn-id: http://core.svn.wordpress.org/trunk@34530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -940,7 +940,7 @@ function get_post_types( $args = array(), $output = 'names', $operator = 'and' )
|
||||
* Default false.
|
||||
* @type array $supports An alias for calling {@see add_post_type_support()} directly.
|
||||
* Defaults to array containing 'title' & 'editor'.
|
||||
* @type callback $register_meta_box_cb Provide a callback function that sets up the meta boxes for the
|
||||
* @type callable $register_meta_box_cb Provide a callback function that sets up the meta boxes for the
|
||||
* edit form. Do remove_meta_box() and add_meta_box() calls in the
|
||||
* callback. Default null.
|
||||
* @type array $taxonomies An array of taxonomy identifiers that will be registered for the
|
||||
|
||||
Reference in New Issue
Block a user