_find_post_by_old_slug
- %1$s is private and should not be used in themes or plugins directly.
_find_post_by_old_slug ( $post_type )
Access:Parameters:- (string) post_type The current post type based on the query vars.
See:Returns:Defined at: - Introduced in WordPress: 4.9.3
- Deprecated in WordPress: —
Description
Find the post ID for redirecting an old slug.