get_delete_post_link

get_delete_post_link

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('get_delete_post_link') is found 1 times:

  • /wp-includes/link-template.php line 1591
    1587
    1588
    1589
    1590
    1591
    1592
    1593
    1594
    1595
    1596
    1597
         * @param string $link         The delete link.
         * @param int    $post_id      Post ID.
         * @param bool   $force_delete Whether to bypass the Trash and force deletion. Default false.
         */
        return apply_filters( 'get_delete_post_link', wp_nonce_url( $delete_link, "$action-post_{$post->ID}" ), $post->ID, $force_delete );
    }
     
    /**
     * Retrieves the edit comment link.
     *
     * @since 2.3.0