Get and display category name by category description

Now i use this code for get display category name:

$idObj = get_category_by_slug(‘products’);
$id = $idObj->term_id;
echo get_cat_name($id);

But i need to get category name by description.

How to get and display category name by category description?

Read more here:: Get and display category name by category description

Leave a Reply

Your email address will not be published. Required fields are marked *