wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



get_tags_to_edit › WordPress Function

Desde2.3.0
Obsoleton/a
get_tags_to_edit ( $post_id, $taxonomy = 'post_tag' )
Parâmetros: (2)
  • (int) $post_id
    Required: Yes
  • (string) $taxonomy Optional. The taxonomy for which to retrieve terms. Default 'post_tag'.
    Required: No
    Padrão: 'post_tag'
Retorna:
  • (string|false|WP_Error)
Definido em:
Codex:

Gets comma-separated list of tags available to edit.



Fonte

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