Gets comma-separated list of tags available to edit.
Parameters
$post_id
intrequired$taxonomy
stringoptional- The taxonomy for which to retrieve terms. Default
'post_tag'
.Default:
'post_tag'
Source
function get_tags_to_edit( $post_id, $taxonomy = 'post_tag' ) {
return get_terms_to_edit( $post_id, $taxonomy );
}
Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.