Created
November 3, 2015 03:20
-
-
Save caseydriscoll/1ceff0a36348bed64f0d to your computer and use it in GitHub Desktop.
Filter wp_terms_checklist_args Example
This file contains hidden or 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
add_filter( 'wp_terms_checklist_args', 'eric_loz_category_fixer', 10, 2); | |
public function eric_loz_category_fixer( $args, $post_id ) { | |
$args['checked_ontop'] = false; | |
return $args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment