A WordPress-centric search engine for devs and theme authors



get_tags_to_edit ›

Since2.3.0
Deprecatedn/a
get_tags_to_edit ( $post_id, $taxonomy = 'post_tag' )
Parameters: (2)
  • (int) $post_id
    Required: Yes
  • (string) $taxonomy Optional. The taxonomy for which to retrieve terms. Default 'post_tag'.
    Required: No
    Default: 'post_tag'
Returns:
  • (string|bool|WP_Error)
Defined at:
Codex:

Get comma-separated list of tags available to edit.



Source

function get_tags_to_edit( $post_id, $taxonomy = 'post_tag' ) {
	return get_terms_to_edit( $post_id, $taxonomy );
}