get_delete_post_link

Advertisement

Summery Summery

Filters the post delete link.

Syntax Syntax

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

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.

Source Source

File: wp-includes/link-template.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.9.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.