mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
callback is not a valid type in PHP, PSR-5, or phpDocumentor. callable should be used instead.
Fixes #34032 git-svn-id: https://develop.svn.wordpress.org/trunk@34566 602fd350-edb4-49c9-b593-d223f7449a82
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