Tag Archives: existance
This is an advanced version of default in_category function. This function not only check for existance of post in the specified categories but also in all the subcategories down in the tree. It has same in_category parameters So you can use it in replacement of in_category.
If you want to check if a short code exists before performing some action. `has_shortcode` is a custom function that will check short code’s availability.