Search
Generic filters
Exact matches only

Get WordPress Category ID from Category name

26th January 2014

Wordpress - Get

wordpress category

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.

Was this code snippet helpful?

Comment on this Code Snippet?