diff --git a/src/functions/collection-color.php b/src/functions/collection-color.php index 9c5ad8e..e73fbf5 100644 --- a/src/functions/collection-color.php +++ b/src/functions/collection-color.php @@ -28,9 +28,13 @@ class TainacanThemeCollectionColor { } function form() { - + + if (!function_exists('tainacan_get_api_postdata')) { + return ''; + } + ob_start(); - ?> + ?>