Created
July 3, 2018 19:31
-
-
Save FernandoSalinas33/8416fe6d4ac882d37501efd4fb9f53f9 to your computer and use it in GitHub Desktop.
Edit the order of the Categories filter
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
//See available parameters: https://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters | |
add_filter( 'listify_wp_job_manager_filters_dropdown_category', function( $args ) { | |
$args['orderby'] = 'id'; | |
return $args; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment