Hey,
Thank you for your help. I tried to use the zip file you sent. It works once but when I go back and click on another time, it doesn’t work anymore. FYI, I cleared out my caches and used in a incognito mode but the same.
Thanks
Hello team.
The problem is that this line of from your code
return apply_filters( ‘woosw_button_html’, $output, $attrs[‘id’], $attrs );
has currently been changed to
return wp_kses_post( apply_filters( ‘woosw_button_html’, $output, $attrs[‘id’], $attrs ) );
The changed code doesn’t allow us to add a custom icon. So, if you just remove this line ” wp_kses_post( ” from your code will fix this issue.
Thanks