Filters the edit link for a term.
$link = '', $before = '', $after = '', $term = null, $display = true
Sortie :
@param string $location The edit link. @param int $term_id Term ID. @param string $taxonomy Taxonomy name. @param string $object_type The object type. @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 int|WP_Term|null $term Optional. Term ID or object. If null, the queried object will be inspected. Default null. @param bool $display Optional. Whether or not to echo the return. Default true. @return string|void HTML content.
// Utilisation de la fonction edit_term_link
$result = edit_term_link($link = '', $before = '', $after = '', $term = null, $display = true);
if ($result) {
// Votre logique ici
}
Chargement des actualités...