File: wp-includes/functions.php
-
function_wp_die_process_input()
Processes arguments passed to wp_die() consistently for its handlers.
-
Filters the callback for killing WordPress execution for JSON requests.
-
functionhuman_readable_duration()
Converts a duration to human readable format.
-
functionwp_unique_id()
Gets unique ID.
-
Cleans up export files older than three days old.
-
Filters the lifetime, in seconds, of a personal data export file.
-
functionwp_privacy_exports_dir()
Returns the directory used to store personal data export files.
-
Filters the directory used to store personal data export files.
-
functionwp_privacy_exports_url()
Returns the URL of the directory used to store personal data export files.
-
Filters the URL of the directory used to store personal data export files.
-
Schedules a `WP_Cron` job to delete expired export files.
-
functionwp_privacy_anonymize_ip()
Returns an anonymized IPv4 or IPv6 address.
-
functionwp_privacy_anonymize_data()
Returns uniform “anonymous” data by type.
-
Filters the anonymous data for each type.
-
functionwp_delete_file_from_directory()
Deletes a file if its path is within the given directory.
-
functionwp_is_uuid()
Validates that a UUID is valid.
-
Sends an email to the old site admin email address when the site admin email address changes.
-
Filters whether to send the site admin email change notification email.
-
Filters the contents of the email notification sent when the site admin email address is changed.
-
functionget_main_site_id()
Gets the main site ID.
-
functionwp_get_image_mime()
Returns the real mime type of an image file.
-
functionwp_generate_uuid4()
Generates a random UUID (version 4).
-
functionwp_cache_get_last_changed()
Gets last changed date for the specified cache group.
-
functionwp_list_sort()
Sorts an array of objects or arrays based on one or more orderby arguments.
-
functionwp_parse_slug_list()
Cleans up an array, comma- or space-separated list of slugs.
-
function_delete_option_fresh_site()
Deletes the fresh site option.
-
hooksmilies
Filters all the smilies.
-
Filters the memory limit allocated for an arbitrary context.
-
functionwp_raise_memory_limit()
Attempts to raise the PHP memory limit for memory intensive processes.
-
function_deprecated_hook()
Marks a deprecated action or filter hook as deprecated and throws a notice.