Content of the page

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

Content of the article

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.

2
Leave a Reply

Please Login to comment
0 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
0 Comment authors
Recent comment authors
  Subscribe  
Notify of