change blocksy defult icons by
Tue Mar 01 2022 16:40:20 GMT+0000 (Coordinated Universal Time)
Saved by
@itaiki
/*change icons*/
//change the type 1 svg to your svg
add_filter('blocksy:header:cart:icons', function ($icon) {
$icon['type-1'] = '<svg>Type 1 SVG</svg>';
return $icon;
});
add_filter('blocksy:header:wish-list:icons', function ($icon) {
$icon['type-1'] = '<svg>Your SVG</svg>';
return $icon;
});
add_filter('blocksy:header:account:icons', function ($icon) {
$icon['type-1'] = '<svg>Your SVG</svg>';
return $icon;
});
add_filter('blocksy:header:search:icon', function ($icon) {
return '<svg>Your SVG</svg>';
});
content_copyCOPY
Comments