get_edit_comment_link хук-фильтрWP 2.3.0

Filters the comment edit link.

Использование

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(строка)
The edit link.

Список изменений

С версии 2.3.0 Введена.

Где вызывается хук

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

Где используется хук в WordPress

Использование не найдено.