Tribe__Events__Main::prevent_checked_on_top_terms( $args,  $post_id )

override default wp_terms_checklist arguments to prevent checked items from bubbling to the top. Instead, retain hierarchy.


Source

File: src/Tribe/Main.php

		public function prevent_checked_on_top_terms( $args, $post_id ) {
			$post = get_post( $post_id );

			if ( ! tribe_is_event( $post ) ) {
				return $args;
			}

			$args['checked_ontop'] = false;

			return $args;
		}