Tag Info

New answers tagged


What @toscho means is that here: http://codex.wordpress.org/Function_Reference/get_category_parents It clearly states that Return Values (string|WP_Error) The categories, separated by $separator. WP_Error on failure. So you can't assume the output will be string and echo it. It can also be a WP_Error object. You need to test it using: ...

Top 50 recent answers are included