wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



get_delete_post_link › Les Filtres WordPress

Depuis2.9.0
Dépréciéen/a
apply_filters( 'get_delete_post_link', wp_nonce_url( $delete_link, "$action-post_{$post->ID}" )
Paramètres: (3)
  • (string) $link The delete link.
    Requis: Oui
  • (int) $post_id Post ID.
    Requis: Oui
  • (bool) $force_delete Whether to bypass the Trash and force deletion. Default false.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the post delete link.





Source

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