Function reference

Description and brief overview of a WordPress function. Click on the function name to see its full description and related entries.

By the Web Warlock, Friday, 20/Aug/2010 17:05

<?php add_post_type_support( $post_type, $feature ) ?>
<?php get_all_meta_children( $term_id = NULL , $add_parent = true , $field = '_parent' , $depth = -1 , $cur_depth = 0 , $use_cache = true ); ?>
<?php get_term_custom( $term_id , $key = NULL , $args = NULL ); ?>
<?php get_term_meta( $term_id , $key , $single = false , $use_cache = true , $single_id = 0 );
<?php get_term_meta_from_cache( $term_id , $key ); ?>
<?php get_theme_mod( $name, $default ) ?>
<?php init_term_meta_cache(); ?>
<?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 ) ); ?>
<?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() ) ); ?>
<?php show_term_meta_form(); ?>
<?php zyx_Hixie_flash( $src , $width = '100%' , $height = '100%' , $args = NULL , $id = 'flash_movie' ); ?>
<?php zyx_join_flashvars( $args = array( 'foo' => 'foo_value' , 'bar' => 'bar_value' ); ?>