get_category_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.
  • (string) $after Optional, default is empty string. Append after category term ID.
  • (array) $visited Optional. Category Term IDs that have already been added.
See:
Returns:
  • (string)
Defined at:

Description

Retrieve category children list separated before and after the term IDs.

Related Functions

get_term_children, _get_term_children, get_category_link, get_page_children, get_category_parents

Top Google Results

User discussions

wpseek mobile