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



get_delete_post_link › WordPress Filter Hooks

Da2.9.0
Deprecaton/a
› apply_filters( 'get_delete_post_link', wp_nonce_url( $delete_link, "$action-post_{$post->ID}" )
Parametri: (3)
  • () link The delete link.
    Richiesto: Sì
  • () post_id Post ID.
    Richiesto: Sì
  • () force_delete Whether to bypass the Trash and force deletion. Default false.
    Richiesto: Sì
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 );