cat_is_ancestor_of() for custom taxonomies

Use term_is_ancestor_of(). That is the function cat_is_ancestor_of() is calling:

term_is_ancestor_of( $parent, $child, 'taxonomy_name' );

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)