WordPress at a glance
Home Functions Other Functions Uncategorized

Uncategorized (category)

cache_javascript_headers()

Set the headers for caching for 10 days with JavaScript content type.

do_robots()

Displays the robots.txt file content. Sets appropriate HTTP headers. Used for creation of dynamic robots.txt file.

download_url()

Downloads a URL to a local temporary file using the WordPress HTTP Class. Please note, That the calling function must unlink() the file.

get_privacy_policy_url()

Retrieves the URL to the privacy policy page.

is_blog_installed()

Test whether WordPress is already installed.

is_wp_error()

Checks whether the passed variable is a WordPress Error.

maybe_convert_table_to_utf8mb4()

If a table only contains utf8 or utf8mb4 columns, convert it to utf8mb4.

nocache_headers()

Set the headers to prevent caching for the different browsers.

show_admin_bar()

Allows you to disable the "Toolbar" (Admin Bar). Technically, the function enables/disables "Admin Bar" for the front-end. You cannot turn it off in Admin-panel.

wp_check_browser_version()

Check if the user needs a browser update

wp_die()

Kills WordPress execution and displays the specified HTML message.

wp_editor()

Renders an editor. Using this function is the proper way to output all needed components for both TinyMCE and Quicktags. _WP_Editors should not be used directly. See https://core.trac.wordpress.org/ticket/17144.

wp_get_raw_referer()

Retrieves unvalidated referer from '_wp_http_referer' or HTTP referer.

wp_get_referer()

Retrieve referer from '_wp_http_referer' or HTTP referer.

wp_install_defaults()

Creates the initial content for a newly-installed site: categories, posts, pages etc.

wp_magic_quotes()

Add magic quotes to $_GET, $_POST, $_COOKIE, and $_SERVER.

wp_mail()

Send mail, similar to PHP's mail

wp_oembed_get()

Embeds the object by specified URL. Tries to get the HTML code from the passed URL by using supported WordPress oEmbed providers.

wp_redirect()

Redirects to another page.

wp_safe_redirect()

Performs a safe redirect, using wp_redirect(). Before redirections check whether the host is in whitelist (in list of allowed hosts).

wp_star_rating()

Output a HTML element with a star rating for a given rating.

wp_timezone_choice()

Gives a nicely-formatted list of timezone strings in <option> format for use in <select>.

wp_validate_redirect()

Validates a URL for use in a redirect.