2020-05-01 / 3705阅 / 悠然
Retrieve category parents with separator.
(int)
(Required)
Category ID.
(bool)
(Optional)
Whether to format with link.
Default value: false
(string)
(Optional)
How to separate categories.
Default value: '/'
(bool)
(Optional)
Whether to use nice name for display.
Default value: false
(array)
(Optional)
Not used.
Default value: array()
(string|WP_Error) A list of category parents>WP_Error on failure.