Advertisements

list_cats

Definition:
function list_cats($optionall = 1, $all = 'All', $sort_column = 'ID', $sort_order = 'asc', $file = '', $list = true, $optiondates = 0,

Parameters

  • int $optionall
  • string $all
  • string $sort_column
  • string $sort_order
  • string $file
  • bool $list
  • int $optiondates
  • int $optioncount
  • int $hide_empty
  • int $use_desc_for_title
  • bool $children
  • int $child_of
  • int $categories
  • int $recurse
  • string $feed
  • string $feed_image
  • string $exclude
  • bool $hierarchical

Source code

function list_cats($optionall = 1, $all = 'All', $sort_column = 'ID', $sort_order = 'asc', $file = '', $list = true, $optiondates = 0,

				   $optioncount = 0, $hide_empty = 1, $use_desc_for_title = 1, $children=false, $child_of=0, $categories=0,

				   $recurse=0, $feed = '', $feed_image = '', $exclude = '', $hierarchical=false) {

	_deprecated_function( __FUNCTION__, '2.1', 'wp_list_categories()' );



	$query = compact('optionall', 'all', 'sort_column', 'sort_order', 'file', 'list', 'optiondates', 'optioncount', 'hide_empty', 'use_desc_for_title', 'children',

		'child_of', 'categories', 'recurse', 'feed', 'feed_image', 'exclude', 'hierarchical');

	return wp_list_cats($query);

}

2267

Advertisements

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: