Core Function
View Source on Trac ↗ get_terms_to_edit()
get_terms_to_edit( mixed $post_id, mixed $taxonomy = 'post_tag' ) Gets comma-separated list of terms available to edit for the given post ID.
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.8.0
Source File
wp-admin/includes/taxonomy.php
Advertisement