get_edit_comment_link filter-hookWP 2.3.0

Filters the comment edit link.

Usage

add_filter( 'get_edit_comment_link', 'wp_kama_get_edit_comment_link_filter' );

/**
 * Function for `get_edit_comment_link` filter-hook.
 * 
 * @param string $location The edit link.
 *
 * @return string
 */
function wp_kama_get_edit_comment_link_filter( $location ){

	// filter...
	return $location;
}
$location(string)
The edit link.

Changelog

Since 2.3.0 Introduced.

Where the hook is called

get_edit_comment_link()
get_edit_comment_link
wp-includes/link-template.php 1598
return apply_filters( 'get_edit_comment_link', $location );

Where the hook is used in WordPress

Usage not found.