Glossary Term
wp_allowed_protocols()
3 tags
1 category
wp_allowed_protocols() — Retrieves a list of protocols to allow in HTML attributes.
Returns string[]: Array of allowed protocols. Defaults to an array containing ‘http’, ‘https’, ‘ftp’, ‘ftps’, ‘mailto’, ‘news’, ‘irc’, ‘irc6’, ‘ircs’, ‘gopher’, ‘nntp’, ‘feed’, ‘telnet’, ‘mms’, ‘rtsp’, ‘sms’, ‘svn’, ‘tel’, ‘fax’, ‘xmpp’, ‘webcal’, and ‘urn’. This covers all common link protocols, except for ‘javascript’ which should not be allowed for untrusted users.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
