Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/link-template.php | apply_filters | 1580 | /** * Filters the post delete link. * * @since 2.9.0 * * @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. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $link | The delete link. |
int | $post_id | Post ID. |
bool | $force_delete | Whether to bypass the Trash and force deletion. Default false. |