_find_post_by_old_slug


_find_post_by_old_slug ( $post_type )

Access:
  • private
Parameters:
  • (string) post_type The current post type based on the query vars.
See:
Returns:
  • (int) The Post ID.
Defined at:

Description

Find the post ID for redirecting an old slug.

Related Functions

_find_post_by_old_date, _truncate_post_slug, wp_unique_post_slug, get_posts_by_author_sql, find_posts_div

Top Google Results

User discussions

wpseek mobile