get_edit_tag_link

FUNCTION wp-includes\link-template.php (ligne 1024) github
Retrieves the edit link for a tag.

Paramètres

Entrée :
$tag, $taxonomy = 'post_tag'
Sortie :
@param int|WP_Term|object $tag      The ID or term object whose edit link will be retrieved.
@param string             $taxonomy Optional. Taxonomy slug. Default 'post_tag'.
@return string The edit tag link URL for the given tag.

Utilisation

// Utilisation de la fonction get_edit_tag_link
$result = get_edit_tag_link($tag, $taxonomy = 'post_tag');

if ($result) {
    // Votre logique ici
}

Actualités

Chargement des actualités...