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