Uma área de pesquisa sobre o WordPress para devs e autores do tema



get_delete_post_link ›

Desde2.9.0
Obsoleton/a
apply_filters( 'get_delete_post_link', wp_nonce_url( $delete_link, "$action-post_{$post->ID}" )
Parâmetros: (3)
  • (string) $link The delete link.
    Required: Yes
  • (int) $post_id Post ID.
    Required: Yes
  • (bool) $force_delete Whether to bypass the trash and force deletion. Default false.
    Required: Yes
Definido em:
Codex:

Filters the post delete link.





Fonte

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