New and updated in 5.2.0
-
functionis_theme_paused()
Determines whether a theme is technically active but was paused while loading.
-
functionwp_recovery_mode_nag()
Displays a notice when the user is in recovery mode.
-
functionwp_get_plugin_error()
Gets the error that was recorded for a paused plugin.
-
functionresume_plugin()
Tries to resume a single plugin.
-
functionpaused_plugins_notice()
Renders an admin notice in case some plugins have been paused due to errors.
-
functionis_plugin_paused()
Determines whether a plugin is technically active but was paused while loading.
-
functionvalidate_plugin_requirements()
Validates the plugin requirements for WordPress version and PHP version.
-
functionwp_ajax_health_check_get_sizes()
Handles site health check to get directories and database sizes via AJAX.
-
Handles site health checks on server communication via AJAX.
-
Handles site health checks on background updates via AJAX.
-
Handles site health checks on loopback requests via AJAX.
-
Handles site health check to update the result status via AJAX.
-
functionwp_update_php_annotation()
Prints the default annotation for the web host altering the “Update PHP” page URL.
-
Validate a value based on a schema.
-
functionactivate_plugin()
Attempts activation of plugin in a “sandbox” and redirects on success.
-
functionpost_exists()
Determines if a post exists based on title, content, date and type.
-
functiondownload_url()
Downloads a URL to a local temporary file using the WordPress HTTP API.
-
functionmap_meta_cap()
Maps a capability to the primitive capabilities required of the given user to satisfy the capability being checked.
-
functiontranslate_user_role()
Translates role name.
-
functionwp_trim_excerpt()
Generates an excerpt from the content, if needed.
-
functionget_archives_link()
Retrieves archive link content based on predefined or custom code.
-
functionwp_get_archives()
Displays archive links based on type and format.
-
functionget_search_form()
Displays search form.
-
functionsafecss_filter_attr()
Filters an inline style attribute and removes disallowed rules.
-
functionget_the_content()
Retrieves the post content.
-
functionget_dirsize()
Gets the size of a directory.
-
functionrecurse_dirsize()
Gets the size of a directory recursively.