edit_tag_link
Filters the anchor tag for the edit link for a tag (or term in another taxonomy).
Использование
add_filter( 'edit_tag_link', 'wp_kama_edit_tag_link_filter' ); /** * Function for `edit_tag_link` filter-hook. * * @param string $link The anchor tag for the edit link. * * @return string */ function wp_kama_edit_tag_link_filter( $link ){ // filter... return $link; }
- $link(строка)
- The anchor tag for the edit link.
Список изменений
С версии 2.7.0 | Введена. |
Где вызывается хук
edit_tag_link
wp-includes/link-template.php 1065
echo $before . apply_filters( 'edit_tag_link', $link ) . $after;