edit_term_link

edit_term_link

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

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('edit_term_link') is found 1 times:

  • /wp-includes/link-template.php line 1166
    	 *
    	 * @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;
    	}