get_delete_post_link

get_delete_post_link

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

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('get_delete_post_link') is found 1 times:

  • /wp-includes/link-template.php line 1591
    	 * @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