File: wp-includes/functions.php
-
functionis_utf8_charset()
Indicates if a given slug for a character set represents the UTF-8 text encoding. If not provided, examines the current blog’s charset.
-
functionwp_is_serving_rest_request()
Determines whether WordPress is currently serving a REST API request.
-
Filters the arguments for an admin notice.
-
Filters the markup for an admin notice.
-
functionwp_admin_notice()
Outputs an admin notice.
-
hookwp_admin_notice
Fires before an admin notice is output.
-
functionwp_get_admin_notice()
Creates and returns the markup for an admin notice.
-
functionwp_unique_prefixed_id()
Generates an incremental ID that is independent per each different prefix.
-
functionwp_trigger_error()
Generates a user-level error/warning/notice/deprecation message.
-
Fires when the given function triggers a user-level error/warning/notice/deprecation message.
-
Filters whether to trigger an error for a deprecated class.
-
function_deprecated_class()
Marks a class as deprecated and informs when it has been used.
-
Fires when a deprecated class is called.
-
Fires after a cache group `last_changed` time is updated.
-
Filters the memory limit allocated for WP-Cron event processing.
-
functionwp_cache_set_last_changed()
Sets last changed date for the specified cache group to now.
-
function_validate_cache_id()
Checks whether the given cache ID is either an integer or an integer-like string.
-
functionwp_recursive_ksort()
Sorts the keys of an array alphabetically.
-
functionwp_filesize()
Wrapper for PHP filesize with filters and casting the result as an integer.
-
hookpre_wp_filesize
Filters the result of wp_filesize before the PHP function is run.
-
hookwp_filesize
Filters the size of the file.
-
functionwp_json_file_decode()
Reads and decodes a JSON file.
-
function_wp_check_alternate_file_names()
Helper function to test if each of an array of file names could conflict with existing files.
-
Returns first matched extension for the mime-type, as mapped from wp_get_mime_types().
-
function_wp_array_set()
Sets an array in depth based on a path of keys.
-
function_wp_to_kebab_case()
This function is trying to replicate what lodash’s kebabCase (JS library) does in the client.
-
functionwp_get_update_https_url()
Gets the URL to learn more about updating the site to use HTTPS.
-
Filters the URL to learn more about updating the HTTPS version the site is running on.
-
Gets the default URL to learn more about updating the site to use HTTPS.
-
functionwp_get_direct_update_https_url()
Gets the URL for directly updating the site to use HTTPS.