Get Category ID from Category name

Simple way to extract cat id (9 for example) from category named ‘Php’

OR

num1 is equal to “Forms”

num2 is equal to 63

Coverted from tricks to the number 63 which is the cat ID number.

Leave a Comment

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