Filters the taxonomy parent drop-down on the Edit Term page.
Parameters
$dropdown_argsarray- An array of taxonomy parent drop-down arguments.
hide_emptyint|boolWhether to hide terms not attached to any posts. Default 0.hide_if_emptyboolWhether to hide the drop-down if no terms exist. Default false.taxonomystringThe taxonomy slug.namestringValue of the name attribute to use for the drop-down select element.
Default'parent'.orderbystringThe field to order by. Default'name'.hierarchicalboolWhether the taxonomy is hierarchical. Default true.show_option_nonestringLabel to display if there are no terms. Default'None'.
$taxonomystring- The taxonomy slug.
$contextstring- Filter context. Accepts
'new'or'edit'.
Source
$dropdown_args = apply_filters( 'taxonomy_parent_dropdown_args', $dropdown_args, $taxonomy, 'new' );
User Contributed Notes
You must log in before being able to contribute a note or feedback.