get_tags_to_edit( int $post_id, string $taxonomy = 'post_tag' ): string|false|WP_Error
Gets comma-separated list of tags available to edit.
Parameters
-
$post_id
int Required -
-
$taxonomy
string Optional -
The taxonomy for which to retrieve terms. Default
'post_tag'
.Default:
'post_tag'
Return
string|false|WP_Error
Source
File: wp-admin/includes/taxonomy.php
.
View all references
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. |