function Esc_js () (filter Html embedded JS)
Parameters
$text
(string) (must) the string to filter.
Default value: None
return value
(string) returns the filtered string.
Example
More
This function is located at: wp-includes/formatting.php
Nocache_headers () (Disable browser caching)
Nocache_headers () is used to send a header message that tells the browser to disallow caching of the current page, typically used in Ajax requests, to prevent errors.
Usage
Nocache_headers ();
Property
This function has no properties.
return value
There is no return value for this function.
Example
function Bing_add_ajax () { nocache_headers (); echo true; Die;} Add_action (' Template_redirect ', ' Bing_add_ajax ');
Other
This function is located at: wp-includes/functions.php
The above describes the Wordpres on the front page debugging two PHP functions using tips, including aspects of the content, I hope the PHP tutorial interested in a friend helpful.