2020-05-01 / 4938阅 / 悠然
Retrieve a page given its title.
If more than>
(string)
(Required)
Page title.
(string)
(Optional)
The required return type.>WP_Post object, an associative array, or a numeric array, respectively.
Default value: OBJECT
(string|array)
(Optional)
Post type or array of post types.
Default value: 'page'
(WP_Post|array|null) WP_Post (or array) on success, or null on failure.