get_tags_to_edit()
Gets comma-separated list of tags available to edit.
No Hooks.
Return
String|false|WP_Error
.
Usage
get_tags_to_edit( $post_id, $taxonomy );
- $post_id(int) (required)
- -
- $taxonomy(string)
- The taxonomy for which to retrieve terms.
Default: 'post_tag'
Changelog
Since 2.3.0 | Introduced. |
get_tags_to_edit() get tags to edit code WP 6.5.2
function get_tags_to_edit( $post_id, $taxonomy = 'post_tag' ) { return get_terms_to_edit( $post_id, $taxonomy ); }