Created
September 23, 2014 23:11
-
-
Save jayseventwo/25088e31936490f8735c to your computer and use it in GitHub Desktop.
Stope categories going out of order in WP pages/posts admin
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
/* ----------------------------------- stop categories going out of order in WP page/poasts admin ---------------*/ | |
function taxonomy_checklist_checked_ontop_filter ($args) | |
{ | |
$args['checked_ontop'] = false; | |
return $args; | |
} | |
add_filter('wp_terms_checklist_args','taxonomy_checklist_checked_ontop_filter'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment