Last active
July 9, 2018 18:13
-
-
Save bnecreative/1e6fc13d542fea051ebfa45351e86a22 to your computer and use it in GitHub Desktop.
BNE Testimonials - Show Published Date
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // Don't copy this line... | |
/* | |
* BNE Testimonials Date Format | |
* | |
* Format the display date using the PHP date formatting. | |
* @url http://php.net/manual/en/function.date.php | |
* | |
* Requires BNE Testimonials v2.6+ | |
*/ | |
add_filter( 'bne_testimonials_date_format', function() { | |
return 'M j, Y'; // Ex: Jan 25, 2018 | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment