wp_add_trashed_suffix_to_post_name_for_trashed_posts
- %1$s is private and should not be used in themes or plugins directly.
wp_add_trashed_suffix_to_post_name_for_trashed_posts ( $post_name, $post_id = 0 )
Access:Parameters:- (string) post_name Post slug.
- (int) post_id Optional. Post ID that should be ignored. Default 0.
Defined at: - Introduced in WordPress: 4.5.0
- Deprecated in WordPress: —
Description
Adds a suffix if any trashed posts have a given slug.Store its desired (i.e. current) slug so it can try to reclaim it
if the post is untrashed.
For internal use.