Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KaineLabs/054636eb00d6cd2234646e32faf5e987 to your computer and use it in GitHub Desktop.
Save KaineLabs/054636eb00d6cd2234646e32faf5e987 to your computer and use it in GitHub Desktop.
Youzify - Sort Recent Posts Widget by Last Modified Date
<?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