Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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