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

Filters the post delete link.


Description Description


Parameters Parameters

$link

(string) The delete link.

$post_id

(int) Post ID.

$force_delete

(bool) Whether to bypass the trash and force deletion. Default false.


Top ↑

Source Source

File: wp-includes/link-template.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
2.9.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.