Performs esc_url() for database usage.
1042
Continue readingChecks and cleans a URL.A number of characters are removed from the URL. If the URL is for displaying (the default behaviour) ampersands are also replaced. The ‘clean_url’ filter is applied to the returned cleaned URL.
1040
Continue readingEscapes data for use in a MySQL queryThis is just a handy shortcut for $wpdb->escape(), for completeness’ sake
1038
Continue readingEscape single quotes, htmlspecialchar ” &, and fix line endings.Escapes text strings for echoing in JS. It is intended to be used for inline JS (in a tag attribute, for example onclick=”…”). Note that the strings have to be in single quotes. The filter ‘js_escape’ is also applied here.
1036
Continue readingRetrieves the translation of $text and escapes it for safe use in HTML output.If there is no translation, or the domain isn’t loaded, the original text is returned.
1034
Continue reading