WordPress obtient l'heure du poste

// Retrieve the time at which the post was written.
get_the_time( string $format = '', int|WP_Post $post = null )
TheDutchScorpion