Title: wp-includes/functions.php | Page 3 of 10 | Developer.WordPress.org

---

# File: wp-includes/functions.php

 * function[wp_get_direct_php_update_url()](https://developer.wordpress.org/reference/functions/wp_get_direct_php_update_url/)
 * Gets the URL for directly updating the PHP version the site is running on.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/wp_get_direct_php_update_url/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/wp_get_direct_php_update_url/#uses)
   | Source: [wp-includes/functions.php:8756](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L8756-L8773)
 * hook[wp_direct_php_update_url](https://developer.wordpress.org/reference/hooks/wp_direct_php_update_url/)
 * Filters the URL for directly updating the PHP version the site is running on 
   from the host.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/wp_direct_php_update_url/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/wp_direct_php_update_url/#uses)
   | Source: [wp-includes/functions.php:8770](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L8770-L8770)
 * function[wp_direct_php_update_button()](https://developer.wordpress.org/reference/functions/wp_direct_php_update_button/)
 * Displays a button directly linking to a PHP update process.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/wp_direct_php_update_button/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/wp_direct_php_update_button/#uses)
   | Source: [wp-includes/functions.php:8784](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L8784-L8800)
 * function[wp_get_default_update_php_url()](https://developer.wordpress.org/reference/functions/wp_get_default_update_php_url/)
 * Gets the default URL to learn more about updating the PHP version the site is
   running on.
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/wp_get_default_update_php_url/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/wp_get_default_update_php_url/#uses)
   | Source: [wp-includes/functions.php:8685](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L8685-L8687)
 * function[wp_update_php_annotation()](https://developer.wordpress.org/reference/functions/wp_update_php_annotation/)
 * Prints the default annotation for the web host altering the “Update PHP” page
   URL.
 * Used by [8 functions](https://developer.wordpress.org/reference/functions/wp_update_php_annotation/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/wp_update_php_annotation/#uses)
   | Source: [wp-includes/functions.php:8705](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L8705-L8716)
 * function[wp_get_update_php_url()](https://developer.wordpress.org/reference/functions/wp_get_update_php_url/)
 * Gets the URL to learn more about updating the PHP version the site is running
   on.
 * Used by [15 functions](https://developer.wordpress.org/reference/functions/wp_get_update_php_url/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/wp_get_update_php_url/#uses)
   | Source: [wp-includes/functions.php:8646](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L8646-L8671)
 * hook[wp_update_php_url](https://developer.wordpress.org/reference/hooks/wp_update_php_url/)
 * Filters the URL to learn more about updating the PHP version the site is running
   on.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/wp_update_php_url/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/wp_update_php_url/#uses)
   | Source: [wp-includes/functions.php:8664](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L8664-L8664)
 * function[is_site_meta_supported()](https://developer.wordpress.org/reference/functions/is_site_meta_supported/)
 * Determines whether site meta is enabled.
 * Used by [4 functions](https://developer.wordpress.org/reference/functions/is_site_meta_supported/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/functions/is_site_meta_supported/#uses)
   | Source: [wp-includes/functions.php:6649](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L6649-L6666)
 * function[wp_parse_list()](https://developer.wordpress.org/reference/functions/wp_parse_list/)
 * Converts a comma- or space-separated list of scalar values to an array.
 * Used by [13 functions](https://developer.wordpress.org/reference/functions/wp_parse_list/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/functions/wp_parse_list/#uses)
   | Source: [wp-includes/functions.php:5041](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L5041-L5051)
 * function[_json_wp_die_handler()](https://developer.wordpress.org/reference/functions/_json_wp_die_handler/)
 * Kills WordPress execution and displays JSON response with an error message.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/_json_wp_die_handler/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/functions/_json_wp_die_handler/#uses)
   | Source: [wp-includes/functions.php:4153](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L4153-L4181)
 * function[_wp_die_process_input()](https://developer.wordpress.org/reference/functions/_wp_die_process_input/)
 * Processes arguments passed to wp_die() consistently for its handlers.
 * Used by [7 functions](https://developer.wordpress.org/reference/functions/_wp_die_process_input/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/functions/_wp_die_process_input/#uses)
   | Source: [wp-includes/functions.php:4354](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L4354-L4427)
 * hook[wp_die_json_handler](https://developer.wordpress.org/reference/hooks/wp_die_json_handler/)
 * Filters the callback for killing WordPress execution for JSON requests.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/wp_die_json_handler/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/wp_die_json_handler/#uses)
   | Source: [wp-includes/functions.php:3847](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L3847-L3847)
 * function[human_readable_duration()](https://developer.wordpress.org/reference/functions/human_readable_duration/)
 * Converts a duration to human readable format.
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/human_readable_duration/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/human_readable_duration/#uses)
   | Source: [wp-includes/functions.php:512](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L512-L571)
 * function[wp_unique_id()](https://developer.wordpress.org/reference/functions/wp_unique_id/)
 * Gets unique ID.
 * Used by [3 functions](https://developer.wordpress.org/reference/functions/wp_unique_id/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/functions/wp_unique_id/#uses)
   | Source: [wp-includes/functions.php:8156](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L8156-L8159)
 * function[wp_privacy_delete_old_export_files()](https://developer.wordpress.org/reference/functions/wp_privacy_delete_old_export_files/)
 * Cleans up export files older than three days old.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/wp_privacy_delete_old_export_files/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/wp_privacy_delete_old_export_files/#uses)
   | Source: [wp-includes/functions.php:8604](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L8604-L8632)
 * hook[wp_privacy_export_expiration](https://developer.wordpress.org/reference/hooks/wp_privacy_export_expiration/)
 * Filters the lifetime, in seconds, of a personal data export file.
 * Used by [2 functions](https://developer.wordpress.org/reference/hooks/wp_privacy_export_expiration/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/wp_privacy_export_expiration/#uses)
   | Source: [wp-includes/functions.php:8623](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L8623-L8623)
 * function[wp_privacy_exports_dir()](https://developer.wordpress.org/reference/functions/wp_privacy_exports_dir/)
 * Returns the directory used to store personal data export files.
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/wp_privacy_exports_dir/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/wp_privacy_exports_dir/#uses)
   | Source: [wp-includes/functions.php:8505](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L8505-L8519)
 * hook[wp_privacy_exports_dir](https://developer.wordpress.org/reference/hooks/wp_privacy_exports_dir/)
 * Filters the directory used to store personal data export files.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/wp_privacy_exports_dir/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/wp_privacy_exports_dir/#uses)
   | Source: [wp-includes/functions.php:8518](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L8518-L8518)
 * function[wp_privacy_exports_url()](https://developer.wordpress.org/reference/functions/wp_privacy_exports_url/)
 * Returns the URL of the directory used to store personal data export files.
 * Used by [3 functions](https://developer.wordpress.org/reference/functions/wp_privacy_exports_url/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/wp_privacy_exports_url/#uses)
   | Source: [wp-includes/functions.php:8530](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L8530-L8544)
 * hook[wp_privacy_exports_url](https://developer.wordpress.org/reference/hooks/wp_privacy_exports_url/)
 * Filters the URL of the directory used to store personal data export files.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/wp_privacy_exports_url/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/wp_privacy_exports_url/#uses)
   | Source: [wp-includes/functions.php:8543](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L8543-L8543)
 * function[wp_schedule_delete_old_privacy_export_files()](https://developer.wordpress.org/reference/functions/wp_schedule_delete_old_privacy_export_files/)
 * Schedules a `WP_Cron` job to delete expired export files.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/wp_schedule_delete_old_privacy_export_files/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/wp_schedule_delete_old_privacy_export_files/#uses)
   | Source: [wp-includes/functions.php:8551](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L8551-L8559)
 * function[wp_privacy_anonymize_ip()](https://developer.wordpress.org/reference/functions/wp_privacy_anonymize_ip/)
 * Returns an anonymized IPv4 or IPv6 address.
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/wp_privacy_anonymize_ip/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/functions/wp_privacy_anonymize_ip/#uses)
   | Source: [wp-includes/functions.php:8383](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L8383-L8445)
 * function[wp_privacy_anonymize_data()](https://developer.wordpress.org/reference/functions/wp_privacy_anonymize_data/)
 * Returns uniform “anonymous” data by type.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/wp_privacy_anonymize_data/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/wp_privacy_anonymize_data/#uses)
   | Source: [wp-includes/functions.php:8456](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L8456-L8494)
 * hook[wp_privacy_anonymize_data](https://developer.wordpress.org/reference/hooks/wp_privacy_anonymize_data/)
 * Filters the anonymous data for each type.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/wp_privacy_anonymize_data/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/wp_privacy_anonymize_data/#uses)
   | Source: [wp-includes/functions.php:8493](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L8493-L8493)
 * function[wp_delete_file_from_directory()](https://developer.wordpress.org/reference/functions/wp_delete_file_from_directory/)
 * Deletes a file if its path is within the given directory.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/wp_delete_file_from_directory/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/functions/wp_delete_file_from_directory/#uses)
   | Source: [wp-includes/functions.php:7876](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L7876-L7898)
 * function[wp_is_uuid()](https://developer.wordpress.org/reference/functions/wp_is_uuid/)
 * Validates that a UUID is valid.
 * Used by [4 functions](https://developer.wordpress.org/reference/functions/wp_is_uuid/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/wp_is_uuid/#uses)
   | Source: [wp-includes/functions.php:8124](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L8124-L8141)
 * function[wp_site_admin_email_change_notification()](https://developer.wordpress.org/reference/functions/wp_site_admin_email_change_notification/)
 * Sends an email to the old site admin email address when the site admin email 
   address changes.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/wp_site_admin_email_change_notification/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/functions/wp_site_admin_email_change_notification/#uses)
   | Source: [wp-includes/functions.php:8285](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L8285-L8371)
 * hook[send_site_admin_email_change_email](https://developer.wordpress.org/reference/hooks/send_site_admin_email_change_email/)
 * Filters whether to send the site admin email change notification email.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/send_site_admin_email_change_email/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/send_site_admin_email_change_email/#uses)
   | Source: [wp-includes/functions.php:8302](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L8302-L8302)
 * hook[site_admin_email_change_email](https://developer.wordpress.org/reference/hooks/site_admin_email_change_email/)
 * Filters the contents of the email notification sent when the site admin email
   address is changed.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/site_admin_email_change_email/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/site_admin_email_change_email/#uses)
   | Source: [wp-includes/functions.php:8355](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L8355-L8355)
 * function[get_main_site_id()](https://developer.wordpress.org/reference/functions/get_main_site_id/)
 * Gets the main site ID.
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/get_main_site_id/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/get_main_site_id/#uses)
   | Source: [wp-includes/functions.php:6562](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/functions.php#L6562-L6573)

 [Previous Page](https://developer.wordpress.org/reference/files/wp-includes/functions.php/page/2/?output_format=md)

[1](https://developer.wordpress.org/reference/files/wp-includes/functions.php/?output_format=md)
[2](https://developer.wordpress.org/reference/files/wp-includes/functions.php/page/2/?output_format=md)
3 [4](https://developer.wordpress.org/reference/files/wp-includes/functions.php/page/4/?output_format=md)
[5](https://developer.wordpress.org/reference/files/wp-includes/functions.php/page/5/?output_format=md)…
[10](https://developer.wordpress.org/reference/files/wp-includes/functions.php/page/10/?output_format=md)

 [Next Page](https://developer.wordpress.org/reference/files/wp-includes/functions.php/page/4/?output_format=md)