Created
April 4, 2022 04:09
-
-
Save KaineLabs/054636eb00d6cd2234646e32faf5e987 to your computer and use it in GitHub Desktop.
Youzify - Sort Recent Posts Widget by Last Modified 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 | |
// Youzify - Sort Recent Posts Widget by Last Modified Date | |
add_filter( 'youzify_recent_posts_widget_order_by', 'yzc_order_by_last_modified' ); | |
function yzc_order_by_last_modified() { | |
return 'modified'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment