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.
Parameters
- $add_trashed_suffix
-
Whether to attempt to add the suffix.
- $post_name
-
The name of the post being updated.
- $post_id
-
Post ID.
Source
File: wp-includes/post.php
Changelog
Version | Description |
---|---|
5.4.0 | Introduced. |