wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



get_tags_to_edit › WordPress Function

Depuis2.3.0
Dépréciéen/a
get_tags_to_edit ( $post_id, $taxonomy = 'post_tag' )
Paramètres: (2)
  • (int) $post_id
    Requis: Oui
  • (string) $taxonomy Optional. The taxonomy for which to retrieve terms. Default 'post_tag'.
    Requis: Non
    Défaut: 'post_tag'
Retourne:
  • (string|false|WP_Error)
Défini(e) dans:
Codex:

Gets 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 );
}