2020-05-02 / 4531阅 / 悠然
Retrieve the date>
Unlike the_date() this function will always return the date. Modify output with the ‘get_the_date’ filter.
(string)
(Optional)
PHP date format defaults to the date_format option if not specified.
Default value: ''
(int|WP_Post)
(Optional)
Post ID or WP_Post object. Default current post.
Default value: null
(string|false) Date the current post was written. False on failure.