wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



edit_post_link › WordPress Filter Hooks

Da2.3.0
Deprecaton/a
apply_filters( 'edit_post_link', $link, $post->ID, $text )
Parametri: (3)
  • (string) $link Anchor tag for the edit link.
    Richiesto:
  • (int) $post_id Post ID.
    Richiesto:
  • (string) $text Anchor text.
    Richiesto:
Definito a:
Codex:

Filters the post edit link anchor tag.





Sorgenti

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