Uses
Uses | Description |
---|---|
wp-admin/includes/taxonomy.php: get_terms_to_edit() | Get comma-separated list of terms available to edit for the given post ID. |
Get comma-separated list of tags available to edit.
(int) (Required)
(string) (Optional) The taxonomy for which to retrieve terms.
Default value: 'post_tag'
(string|bool|WP_Error)
File: wp-admin/includes/taxonomy.php
function get_tags_to_edit( $post_id, $taxonomy = 'post_tag' ) { return get_terms_to_edit( $post_id, $taxonomy ); }
Version | Description |
---|---|
2.3.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/get_tags_to_edit