Fix error Convert array to string on customizer filter

This commit is contained in:
Fabiano 2018-09-03 20:22:30 -03:00
parent 80986fec16
commit 3bdbc94923
1 changed files with 2 additions and 1 deletions

View File

@ -495,7 +495,8 @@ function tainacan_get_color_scheme_css( $colors ) {
'link_color' => '',
'backtransparent' => '',
) );
$filter = apply_filters( 'tainacan_customize_colors', $colors);
$filter = (has_filter('tainacan_customize_colors')) ? apply_filters( 'tainacan_customize_colors', $colors) : '';
return <<<CSS
/* Color Scheme */