getBlogCategory(int
category_id)¶
The getBlogCategory method is used to get a BlogCategory object that represents blog category available in the storefront.
Input parameters¶
category_id¶
int
Numeric identifier of the blog category.
Returned value¶
The BlogCategory object. If the category_id is incorrect or the category is inactive, the returned value is null.