Created
May 30, 2019 23:14
-
-
Save cameronjonesweb/7d8d0a92fec1b576658580ef7c8d5876 to your computer and use it in GitHub Desktop.
Preserve taxonomy heirarchy on edit post page
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 | |
add_filter('wp_terms_checklist_args', function ($args){ | |
$args['checked_ontop'] = false; | |
return $args; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment