add_trashed_suffix_to_trashed_posts

最后更新于:2021-11-25 19:22:11

apply_filters( ‘add_trashed_suffix_to_trashed_posts’, bool $add_trashed_suffix, string $post_name, int $post_ID )

Filters whether or not to add a __trashed suffix to trashed posts that match the name of the updated post.

参数

$add_trashed_suffix

(bool)
Whether to attempt to add the suffix.

$post_name

(string)
The name of the post being updated.

$post_ID

(int)
Post ID.

源文件

文件: gc-includes/post.php

View on Trac