Created by: sskaje
Check all parent taxonomies on check, uncheck all sub-taxnomies on uncheck.
Compatible with WordPress Gutenberg.
Working with WordPress hierarchical category and customized hierarchical taxonomies created by Custom Post Type UI.