Created
October 22, 2018 11:27
-
-
Save mrfoxtalbot/6e15323b00866301472929fda32a11c3 to your computer and use it in GitHub Desktop.
Remove post date
This file contains hidden or 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
| function mrfx_remove_post_dates() { | |
| add_filter('the_date', '__return_false'); | |
| add_filter('the_time', '__return_false'); | |
| add_filter('the_modified_date', '__return_false'); | |
| add_filter('get_the_date', '__return_false'); | |
| add_filter('get_the_time', '__return_false'); | |
| add_filter('get_the_modified_date', '__return_false'); | |
| } | |
| add_action('loop_start', 'mrfx_remove_post_dates'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment