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



get_delete_post_link ›

Seit2.9.0
Veraltetn/v
apply_filters( 'get_delete_post_link', wp_nonce_url( $delete_link, "$action-post_{$post->ID}" )
Parameter: (3)
  • (string) $link The delete link.
    Erforderlich: Ja
  • (int) $post_id Post ID.
    Erforderlich: Ja
  • (bool) $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 );