edit_term_link

edit_term_link

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('edit_term_link') is found 1 times:

  • /wp-includes/link-template.php line 1166
    1162
    1163
    1164
    1165
    1166
    1167
    1168
    1169
    1170
    1171
    1172
    *
     * @param string $link    The anchor tag for the edit link.
     * @param int    $term_id Term ID.
     */
    $link = $before . apply_filters( 'edit_term_link', $link, $term->term_id ) . $after;
     
    if ( $display ) {
        echo $link;
    } else {
        return $link;
    }