Tag Archives: codex

clean_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.

633

Continue reading

clean_pre

Accepts matches array from preg_replace_callback in wpautop() or a string.Ensures that the contents of a

...

HTML block are not converted into paragraphs or line-breaks.

629

Continue reading

check_upload_mimes

Check an array of MIME types against a whitelist.WordPress ships with a set of allowed upload filetypes, which is defined in wp-includes/functions.php in get_allowed_mime_types(). This function is used to filter that list against the filetype whitelist provided by Multisite Super Admins at wp-admin/network/settings.php.

609

Continue reading