get_tags_to_edit( int $post_id, string $taxonomy = 'post_tag' )

Get comma-separated list of tags available to edit.


Parameters Parameters

$post_id

(int) (Required)

$taxonomy

(string) (Optional) The taxonomy for which to retrieve terms.

Default value: 'post_tag'


Top ↑

Return Return

(string|bool|WP_Error)


Top ↑

Source Source

File: wp-admin/includes/taxonomy.php

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


Top ↑

Changelog Changelog

Changelog
Version Description
2.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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