The file wp-content/plugins/zyx-term-meta/includes/term-groups.php includes the basic API for dealing with term groups.
term-groups.php
register_term_group
By the Web Warlock, Sunday, 23/May/2010 16:37
Description of the function register_term_group located in the file wp-content/plugins/zyx-term-meta/includes / term-groups.php of the plugin ZYX Term Meta. Uses the functions add_term_group_meta_boxes, get_term_group and wp_parse_args, and the global vars $zyx_term_groups and $zyx_term_group_list.
<?php register_term_group( $name , $args = array( 'nicename' => NULL , 'description' => NULL , 'parents' => array() , 'children' => array() , 'post_type' => array( 'post' ) , 'add_meta_box' => false , 'restrict_meta_box' => false , 'meta_box_context' => 'normal' , 'meta_box_priority' => 'high' , 'meta_box_hook_priority' => 10 , 'show_checktable' => true , 'checktable_cols' => 5 , 'checktable_nicename' => NULL , 'checktable_lock' => false , 'checktable_read_only' => false, 'use_thumbnail' => false , 'checktable_taxonomy' => 'category' , 'checktable_unique' => false , 'hide_checktable_for' => array() , 'hide_in_list_for' => array() , 'show_title' => true , 'show_empty_title' => false , 'error_message_none' => NULL , 'show_new_term' => true , 'show_empty_new_term' => true , 'is_folder' => false , 'template' => NULL , 'custom_fields' => array(), /* array of arrays with props key, nicename, description, form_function, save_function, value_function */ 'tag_function' => NULL , 'tag_function_args' => NULL , 'tag_format' => '%s' , /* separators for terms of the group */ 'tag_sep' => __( ' ' ) , 'tag_last_sep' => __( ' ' ) , /* separators for children of the group */ 'sep' => __( ', ' , 'zyx-term-meta' ) , 'last_sep' => __( ' and ' , 'zyx-term-meta' ) , 'tag_class' => NULL , 'children_before_depth' => array() , 'children_after_depth' => array() ) ); ?>
register_term_group: Source code
By the Web Warlock, Tuesday, 18/May/2010 16:21
Source code of the function register_term_group located in the file wp-content/plugins/zyx-term-meta/includes / term-groups.php of the plugin ZYX Term Meta.
Source code of the function register_term_group, located in the file wp-content/plugins/zyx-term-meta/includes/term-groups.php of the ZYX Term Meta plugin.
269 queries. 1.320 seconds. Powered by WordPress
Code is magic