Used By
Used By | Description |
---|---|
wp-admin/includes/meta-boxes.php: post_categories_meta_box() | Display post categories form fields. |
Filters the arguments for the taxonomy parent dropdown on the Post Edit page.
(array) Array of arguments to generate parent dropdown.
(string) Name of the taxonomy to retrieve.
(bool) True to skip generating markup if no categories are found. Default 0.
(string) Value for the 'name' attribute of the select element. Default "new{$tax_name}_parent".
(string) Which column to use for ordering terms. Default 'name'.
(bool|int) Whether to traverse the taxonomy hierarchy. Default 1.
(string) Text to display for the "none" option. Default "— {$parent} —", where $parent
is 'parent_item' taxonomy label.
Version | Description |
---|---|
4.4.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/post_edit_category_parent_dropdown_args