WordPress.org

Ready to get started?Download WordPress

Forums

Using get_cat_id to search category with '&' (1 post)

  1. dexno
    Member
    Posted 4 years ago #

    Hello,

    I try to get category id using get_cat_id like this:

    $cat_id=get_cat_id("Product & Services");

    but i didn't find any result.

    maybe because my category name have "&" operator ??

    how to solve this problem?

    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic