Return true if in category that's gated

This commit is contained in:
Jay Wood
2014-12-01 08:00:10 -05:00
parent 5e4dc71423
commit e8b2eddd35

View File

@ -117,7 +117,7 @@ class CWV3 {
// We have categories to check, so let us do so.
$current_categories = get_the_category( $post_id );
if ( $this->in_cat( $category_array, $current_categories ) ){
// @TODO Continue here
return true; // Just return true if it's in the category.
}
}
}