Fixed template validation bug
This commit is contained in:
@@ -34,7 +34,7 @@ function construct_template_products_class() {
|
||||
* @param $template_category_slug string the name of the main wiaas category
|
||||
* @return mixed
|
||||
*/
|
||||
public function get_template_categories_from_meta($template_id, $template_category_slug) {
|
||||
public static function get_template_categories_from_meta($template_id, $template_category_slug) {
|
||||
|
||||
return get_post_meta($template_id, $template_category_slug, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user