File: wp-includes/functions.php
-
functionwp_auth_check()
Checks whether a user is still logged in, for the heartbeat.
-
functionget_tag_regex()
Returns RegEx body to liberally match an opening HTML tag.
-
function_canonical_charset()
Retrieves a canonical form of the provided charset appropriate for passing to PHP functions such as htmlspecialchars() and charset HTML attributes.
-
functionmbstring_binary_safe_encoding()
Sets the mbstring internal encoding to a binary safe encoding when func_overload is enabled.
-
functionreset_mbstring_encoding()
Resets the mbstring internal encoding to a users previously set encoding.
-
hookwp_checkdate
Filters whether the given date is valid for the Gregorian calendar.
-
functionwp_find_hierarchy_loop()
Finds hierarchy loops using a callback function that maps object IDs to parent IDs.
-
functionwp_auth_check_load()
Loads the auth check for monitoring whether the user is still logged in.
-
Uses the “The Tortoise and the Hare” algorithm to detect loops.
-
Filters whether to load the authentication check.
-
functionsend_frame_options_header()
Sends a HTTP header to limit rendering of pages to same origin iframes.
-
functionwp_auth_check_html()
Outputs the HTML that shows the wp-login dialog when the user is no longer logged in.
-
functionwp_allowed_protocols()
Retrieves a list of protocols to allow in HTML attributes.
-
Filters whether the authentication check originated at the same domain.
-
Filters the list of protocols allowed in HTML attributes.
-
functionwp_debug_backtrace_summary()
Returns a comma-separated string or array of functions that have been called to get to the current point in code.
-
function_get_non_cached_ids()
Retrieves IDs that are not already present in the cache.
-
function__return_empty_array()
Returns an empty array.
-
function_device_can_upload()
Tests if the current device has the capability to upload files.
-
function__return_null()
Returns null.
-
functionwp_is_stream()
Tests if a given path is a stream URL
-
function__return_empty_string()
Returns an empty string.
-
functionwp_checkdate()
Tests if the supplied date is valid for the Gregorian calendar.
-
functionsend_nosniff_header()
Sends a HTTP header to disable content type sniffing in browsers which support it.
-
function_cleanup_header_comment()
Strips close comment and close php tags from file headers used by WP.
-
functionforce_ssl_admin()
Determines whether to force SSL used for the Administration Screens.
-
functionwp_scheduled_delete()
Permanently deletes comments or posts of any type that have held a status of ‘trash’ for the number of days defined in EMPTY_TRASH_DAYS.
-
functionwp_guess_url()
Guesses the URL for the site.
-
functionget_file_data()
Retrieves metadata from a file.
-
functionwp_suspend_cache_addition()
Temporarily suspends cache additions.