edit_tag_link

FUNCTION wp-includes\link-template.php (ligne 1034) github
Filters the edit link for a tag (or term in another taxonomy).

Paramètres

Entrée :
$link = '', $before = '', $after = '', $tag = null
Sortie :
@param string $link The term edit link.
@param string  $link   Optional. Anchor text. If empty, default is 'Edit This'. Default empty.
@param string  $before Optional. Display before edit link. Default empty.
@param string  $after  Optional. Display after edit link. Default empty.
@param WP_Term $tag    Optional. Term object. If null, the queried object will be inspected.

Utilisation

// Utilisation de la fonction edit_tag_link
$result = edit_tag_link($link = '', $before = '', $after = '', $tag = null);

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

Actualités

Chargement des actualités...