There is a function in WordPress called current_time();
which you pass either ‘timestamp’ or ‘mysql’ to and it returns a time.
For more information:
https://developer.wordpress.org/reference/functions/current_time/
There is a function in WordPress called current_time();
which you pass either ‘timestamp’ or ‘mysql’ to and it returns a time.
For more information:
https://developer.wordpress.org/reference/functions/current_time/