_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) $id 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, get_post_format_slugs

Top Google Results

User discussions

wpseek mobile