wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



get_delete_post_link › WordPress Filter Hooks

Seit2.9.0
Veraltetn/v
apply_filters( 'get_delete_post_link', wp_nonce_url( $delete_link, "$action-post_{$post->ID}" )
Parameter: (3)
  • () link The delete link.
    Erforderlich: Ja
  • () post_id Post ID.
    Erforderlich: Ja
  • () force_delete Whether to bypass the Trash and force deletion. Default false.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the post delete link.





Quellcode

return apply_filters( 'get_delete_post_link', wp_nonce_url( $delete_link, "$action-post_{$post->ID}" ), $post->ID, $force_delete );