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. 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:
  • (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