WPDev.one
Core Function
View Source on Trac ↗

_find_post_by_old_date()

_find_post_by_old_date( mixed $post_type )

Find the post ID for redirecting an old date.

Parameters 1 required

Name / Type Description
$post_type
string

The current post type based on the query vars.

Required

Return Value

(int)
The Post ID.

Function Information

Since Version
4.9.3
Source File
wp-includes/query.php
Advertisement