get_category_children
- get_category_children is deprecated since version 2.8.0!
Alternative: get_term_children()
get_category_children ( $id, $before = '/', $after = '', $visited = array() )
Parameters:- (int) id Category ID to retrieve children.
- (string) before Optional. Prepend before category term ID. Default '/'.
- (string) after Optional. Append after category term ID. Default empty string.
- (array) visited Optional. Category Term IDs that have already been added. Default empty array.
See:Returns:Defined at: - Introduced in WordPress: 1.2.0
- Deprecated in WordPress: 2.8.0
Description
Retrieve category children list separated before and after the term IDs.