get_category_parents Wordpress function


Description:

Retrieve category parents with separator.


Syntax:


Arguments:

(int) $id Category ID.
(bool) $link Optional, default is false. Whether to format with link.
(string) $separator Optional, default is '/'. How to separate categories.
(bool) $nicename Optional, default is false. Whether to use nice name for display.
(array) $visited Optional. Already linked to categories to prevent duplicates.


Return Type:

(string)


Define At:

wp-includes/category-template.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/get_category_parents


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×