get_tags_to_edit( int $post_id, string $taxonomy = ‘post_tag’ ): string|false|WP_Error

In this article

Gets comma-separated list of tags available to edit.

Parameters

$post_idintrequired
$taxonomystringoptional
The taxonomy for which to retrieve terms. Default 'post_tag'.

Default:'post_tag'

Return

string|false|WP_Error

Source

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

Changelog

VersionDescription
2.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.