Glossary Term
wp_check_jsonp_callback()
3 tags
1 category
wp_check_jsonp_callback() — Checks that a JSONP callback is a valid JavaScript callback name. Only allows alphanumeric characters and the dot character in callback function names. This helps to mitigate XSS attacks caused by directly outputting user input.
Inputs: $callback (string): Supplied JSONP callback function name.
Returns bool: Whether the callback function name is valid.
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…
