PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

PHP Class for creating interface for assigning term_group in any WordPress taxonomy

Sometimes when developing something on WordPress its necessary to use field term_group from  the data base table wp_term_relationships. For example sorting taxonomies terms by this field. But how to assign term_group value to each term when there is no such interface by default? Described below PHP class will help you to resolve this task:


Using of this class is simple. After code of initialization taxonomies you should add next piece of code:

clients and skills here is slugs of taxonomies.

WOOBE - WooCommerce Bulk Editor and Products Manager Professional