Un motore di ricerca WordPress per sviluppatori e autori di temi



get_delete_post_link ›

Da2.9.0
Deprecaton/a
apply_filters( 'get_delete_post_link', wp_nonce_url( $delete_link, "$action-post_{$post->ID}" )
Parametri: (3)
  • (string) $link The delete link.
    Richiesto:
  • (int) $post_id Post ID.
    Richiesto:
  • (bool) $force_delete Whether to bypass the trash and force deletion. Default false.
    Richiesto:
Definito a:
Codex:

Filters the post delete link.





Sorgenti

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