get_delete_post_link

最后更新于:2021-11-26 22:31:39

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

Filters the post delete link.

参数

$link

(string)
The delete link.

$post_id

(int)
Post ID.

$force_delete

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

源文件

文件: gc-includes/link-template.php

View on Trac