Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
I have tried to use sms:+xxxxxxxxxx in the destination url for sitebuilder button, but every time I save it deletes it? Why? Any way to make button start sms ie.text a number like my cell phone?
Hi Jason
For the sake of security, the button widget passes all URLs through the WordPress esc_url function. This function is fairly restrictive on what protocols it allows. I’m fairly sure it’ll strip out sms based URLs.
I see someone suggested a change to how esc_url works. This was submitted a few years ago and it doesn’t look like there’s been any progress though.
https://core.trac.wordpress.org/ticket/18268