WPDev.one
Core Function
View Source on Trac ↗

get_tags_to_edit()

get_tags_to_edit( mixed $post_id, mixed $taxonomy = 'post_tag' )

Gets comma-separated list of tags available to edit.

Parameters 1 required

Name / Type Description
int

$post_id

Required
$taxonomy
string

Optional. The taxonomy for which to retrieve terms. Default 'post_tag'.

Return Value

((string)
| false | WP_Error)

Function Information

Since Version
2.3.0
Source File
wp-admin/includes/taxonomy.php
Advertisement