get_tags_to_edit() – Get comma-separated list of tags available to edit.
You appear to be a bot. Output may be restricted
Description
Gets comma-separated list of tags available to edit.
Usage
$string|false|WP_Error = get_tags_to_edit( $post_id, $taxonomy );
Parameters
- $post_id
- ( int ) required –
- $taxonomy
- ( string ) optional default: post_tag – Optional. The taxonomy for which to retrieve terms. Default 'post_tag'.
Returns
string|false|WP_Error
Source
File name: wordpress/wp-admin/includes/taxonomy.php
Lines:
1 to 3 of 3
function get_tags_to_edit( $post_id, $taxonomy = 'post_tag' ) { return get_terms_to_edit( $post_id, $taxonomy ); }