WordPress term_exists returning null when term does exist

38 views Asked by At

I'm investigating an issue with WPAllImport plugin and the issue seems to be related to Wordpress core function term_exists . I think I'm passing the right arguments but not getting the expected response.

I attached an image showing the get_term working fine showing all the details to this term.. while the term_exists passing the exact data where it should (by parent) returns null: enter image description here

I looked around similar tickets but most are passing incorrect arguments unlike this case. Does anyone know if this is an issue with Wordpress or am I doing something incorrectly?

Thanks in advance.

0

There are 0 answers