[ad_1]
I’m trying to use one of the 3 custom social fields as a viber link field (viber://contact?number=+00000000000). However I’m getting an empty link as a result.
I tried to add the “viber” protocol in the kses but it didn’t do the trick.
// Allow viber protocol in links
add_filter('kses_allowed_protocols', static function ($protocols) {
$protocols[] = 'viber';
return $protocols;
});It seems that the URL disappears somewhere between customizer and saving the option in the database, since I checked the database and the option is empty there. Does Kadence use some extra URL validation?
- This topic was modified 3 hours, 1 minute ago by .
