Home » Php » php – get_the_date() returns english Year & Day when language is Arabic

php – get_the_date() returns english Year & Day when language is Arabic

Posted by: admin February 25, 2020 Leave a comment

Questions:

I changed my WordPress language to Arabic, Now get_the_date() returns يناير 30, 2020 (half Arabic & half english) but I need to get date full Arabic like: يناير ٣٠, ٢٠٢٠

How can I do this?

How to&Answers: