Archive | Functions by letter e RSS feed for this section

export_wp

Generates the WXR export file for download

1044

Continue reading

esc_url

Checks 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 reading

esc_sql

Escapes data for use in a MySQL queryThis is just a handy shortcut for $wpdb->escape(), for completeness’ sake

1038

Continue reading

esc_js

Escape 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 reading