wp_add_trashed_suffix_to_post_name_for_post


wp_add_trashed_suffix_to_post_name_for_post ( $post )

Access:
  • private
Parameters:
  • (WP_Post) $post The post.
Returns:
  • (string) New slug for the post.
Defined at:

Description

Adds a trashed suffix for a given post.

Store its desired (i.e. current) slug so it can try to reclaim it if the post is untrashed.

For internal use.

Related Functions

wp_add_trashed_suffix_to_post_name_for_trashed_posts, wp_transition_post_status, wp_trash_post_comments, wp_set_post_categories, wp_untrash_post_comments

Top Google Results

User discussions

wpseek mobile