apply_filters( 'get_delete_post_link', string $link, int $post_id, bool $force_delete )

Filters the post delete link.


Parameters

$link

The delete link.

$post_id

Post ID.

$force_delete

Whether to bypass the trash and force deletion. Default false.


Source

File: wp-includes/link-template.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.9.0 Introduced.