wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



edit_post_link › Les Filtres WordPress

Depuis2.3.0
Dépréciéen/a
apply_filters( 'edit_post_link', $link, $post->ID, $text )
Paramètres: (3)
  • (string) $link Anchor tag for the edit link.
    Requis: Oui
  • (int) $post_id Post ID.
    Requis: Oui
  • (string) $text Anchor text.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the post edit link anchor tag.





Source

echo $before . apply_filters( 'edit_post_link', $link, $post->ID, $text ) . $after;