Global objects

get_term_custom

By the Web Warlock, Wednesday, 4/Aug/2010 22:11

located in the file / of the plugin . Uses the functions , and , and the methods and and the property of the global object. Reads the fields and of the table . Uses the filters .

<?php get_term_custom( $term_id , $key = NULL , $args = NULL ); ?>

get_term_meta

By the Web Warlock, Wednesday, 4/Aug/2010 10:46

located in the file / of the plugin . Reads the fields and of the table. Uses the functions , , and , and the methods and and the property of the global object .

<?php get_term_meta( $term_id , $key , $single = false , $use_cache = true , $single_id = 0 );

register_post_type

By the Web Warlock, Thursday, 24/Jun/2010 10:06

<?php register_post_type( $post_type, $args = array(
		'labels' => array(), 'description' => '', 'publicly_queryable' => null, 'exclude_from_search' => null,
		'_builtin' => false, '_edit_link' => 'post.php?post=%d', 'capability_type' => 'post', 'capabilities' => array(), 'hierarchical' => false,
		'public' => false, 'rewrite' => true, 'query_var' => true, 'supports' => array(), 'register_meta_box_cb' => null,
		'taxonomies' => array(), 'show_ui' => null, 'menu_position' => null, 'menu_icon' => null,
		'permalink_epmask' => EP_PERMALINK, 'can_export' => true, 'show_in_nav_menus' => null ) ); ?>

get_all_meta_children

By the Web Warlock, Friday, 14/May/2010 13:11

<?php get_all_meta_children( $term_id = NULL , $add_parent = true , $field = '_parent' , $depth = -1 , $cur_depth = 0 , $use_cache = true ); ?>