Date in Meta data not translatable
-
Hello,
I recently discovered that the date metadata of post is not translatable due to the usage of get_post_time(‘F j, Y’).
This is because get_post_time( string $format = ‘U’, bool $gmt = false, int|WP_Post $post = null, bool $translate = false ) has translate set to false by default. If you set that function to get_post_time(‘F j, Y’, false, null, true) it is automatically translated to wordpress language.
Are you able to fix that?
It’s in the mp_emmet_post_meta() function.Regards.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Date in Meta data not translatable’ is closed to new replies.