WP_Error::__construct( string|int $code = '', string $message = '', mixed $data = '' )
Initializes the error.
Description
If $code
is empty, the other parameters will be ignored.
When $code
is not empty, $message
will be used even if it is empty. The $data
parameter will be used only if it is not empty.
Though the class is constructed with a single error code and message, multiple codes can be added using the add()
method.
Parameters
-
$code
string|int Optional -
Error code.
Default:
''
-
$message
string Optional -
Error message.
Default:
''
-
$data
mixed Optional -
Error data.
Default:
''
Source
File: wp-includes/class-wp-error.php
.
View all references
public function __construct( $code = '', $message = '', $data = '' ) {
if ( empty( $code ) ) {
return;
}
$this->add( $code, $message, $data );
}
Related
Uses
Uses | Description |
---|---|
WP_Error::add() wp-includes/class-wp-error.php |
Adds an error or appends an additional message to an existing error. |
Used By
Used By | Description |
---|---|
WP_REST_Global_Styles_Controller::validate_custom_css() wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php |
Validate style.css as valid CSS. |
move_dir() wp-admin/includes/file.php |
Moves a directory from one location to another. |
wp_get_latest_revision_id_and_total_count() wp-includes/revision.php |
Returns the latest revision ID and count of revisions for a post. |
WP_Site_Health::check_for_page_caching() wp-admin/includes/class-wp-site-health.php |
Checks if site has page cache enabled or not. |
WP_REST_Block_Patterns_Controller::get_items_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php |
Checks whether a given request has permission to read block patterns. |
WP_REST_Global_Styles_Controller::get_theme_items_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php |
Checks if a given request has access to read a single theme global styles config. |
WP_REST_Global_Styles_Controller::get_theme_items() wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php |
Returns the given theme global styles variations. |
WP_REST_Block_Pattern_Categories_Controller::get_items_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-block-pattern-categories-controller.php |
Checks whether a given request has permission to read block patterns. |
WP_REST_Menu_Items_Controller::get_item_schema() wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php |
Retrieves the term’s schema, conforming to JSON Schema. |
WP_REST_Global_Styles_Controller::get_theme_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php |
Checks if a given request has access to read a single theme global styles config. |
WP_REST_Global_Styles_Controller::get_theme_item() wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php |
Returns the given theme global styles config. |
WP_REST_Menu_Items_Controller::check_has_read_only_access() wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php |
Checks whether the current user has read permission for the endpoint. |
WP_REST_Menu_Items_Controller::create_item() wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php |
Creates a single post. |
WP_REST_Menu_Items_Controller::delete_item() wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php |
Deletes a single menu item. |
WP_REST_Menu_Items_Controller::prepare_item_for_database() wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php |
Prepares a single post for create or update. |
WP_REST_Global_Styles_Controller::get_post() wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php |
Get the post, if the ID is valid. |
WP_REST_Global_Styles_Controller::get_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php |
Checks if a given request has access to read a single global style. |
WP_REST_Global_Styles_Controller::update_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php |
Checks if a given request has access to write a single global styles config. |
WP_REST_URL_Details_Controller::parse_url_details() wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php |
Retrieves the contents of the title tag from the HTML response. |
WP_REST_URL_Details_Controller::permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php |
Checks whether a given request has permission to read remote URLs. |
WP_REST_URL_Details_Controller::get_remote_url() wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php |
Retrieves the document title from a remote URL. |
WP_REST_Menus_Controller::check_has_read_only_access() wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php |
Checks whether the current user has read permission for the endpoint. |
WP_REST_Menus_Controller::create_item() wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php |
Creates a single term in a taxonomy. |
WP_REST_Menus_Controller::update_item() wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php |
Updates a single term from a taxonomy. |
WP_REST_Menus_Controller::delete_item() wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php |
Deletes a single term from a taxonomy. |
WP_REST_Menus_Controller::handle_locations() wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php |
Updates the menu’s locations from a REST request. |
WP_REST_Menus_Controller::get_item_schema() wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php |
Retrieves the term’s schema, conforming to JSON Schema. |
WP_REST_Menu_Locations_Controller::get_items_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-menu-locations-controller.php |
Checks whether a given request has permission to read menu locations. |
WP_REST_Menu_Locations_Controller::get_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-menu-locations-controller.php |
Checks if a given request has access to read a menu location. |
WP_REST_Menu_Locations_Controller::get_item() wp-includes/rest-api/endpoints/class-wp-rest-menu-locations-controller.php |
Retrieves a specific menu location. |
WP_REST_Edit_Site_Export_Controller::permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-edit-site-export-controller.php |
Checks whether a given request has permission to export. |
wp_generate_block_templates_export_file() wp-includes/block-template-utils.php |
Creates an export of the current templates and template parts from the site editor at the specified path in a ZIP file. |
_build_block_template_result_from_post() wp-includes/block-template-utils.php |
Builds a unified template object based a post Object. |
WP_REST_Widgets_Controller::prepare_item_for_response() wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php |
Prepares the widget for the REST response. |
WP_REST_Widgets_Controller::get_item() wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php |
Gets an individual widget. |
WP_REST_Widgets_Controller::update_item() wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php |
Updates an existing widget. |
WP_REST_Widgets_Controller::delete_item() wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php |
Deletes a widget. |
WP_REST_Widgets_Controller::permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php |
Performs a permissions check for managing widgets. |
WP_REST_Widgets_Controller::save_widget() wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php |
Saves the widget in the request object. |
WP_REST_Sidebars_Controller::get_item() wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php |
Retrieves one sidebar from the collection. |
WP_REST_Sidebars_Controller::do_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php |
Checks if the user has permissions to make the request. |
WP_REST_Templates_Controller::permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php |
Checks if the user has permissions to make the request. |
WP_REST_Templates_Controller::get_item() wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php |
Returns the given template |
WP_REST_Templates_Controller::update_item() wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php |
Updates a single template. |
WP_REST_Templates_Controller::create_item() wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php |
Creates a single template. |
WP_REST_Templates_Controller::delete_item() wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php |
Deletes a single template. |
WP_REST_Templates_Controller::prepare_item_for_database() wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php |
Prepares a single template for create or update. |
WP_REST_Pattern_Directory_Controller::get_items_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php |
Checks whether a given request has permission to view the local block pattern directory. |
WP_REST_Pattern_Directory_Controller::get_items() wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php |
Search and retrieve block patterns metadata |
WP_REST_Widget_Types_Controller::encode_form_data() wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php |
An RPC-style endpoint which can be used by clients to turn user input in a widget admin form into an encoded instance object. |
WP_REST_Widget_Types_Controller::check_read_permission() wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php |
Checks whether the user can read widget types. |
WP_REST_Widget_Types_Controller::get_widget() wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php |
Gets the details about the requested widget. |
WP_REST_Application_Passwords_Controller::get_current_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php |
Checks if a given request has access to get the currently used application password for a user. |
WP_REST_Application_Passwords_Controller::get_current_item() wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php |
Retrieves the application password being currently used for authentication of a user. |
WP_REST_Themes_Controller::get_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php |
Checks if a given request has access to read the theme. |
WP_REST_Themes_Controller::check_read_active_theme_permission() wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php |
Checks if a theme can be read. |
WP_REST_Themes_Controller::get_item() wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php |
Retrieves a single theme. |
wp_update_https_detection_errors() wp-includes/https-detection.php |
Runs a remote HTTPS request to detect whether HTTPS supported, and stores potential errors. |
rest_validate_integer_value_from_schema() wp-includes/rest-api.php |
Validates an integer value based on a schema. |
rest_validate_enum() wp-includes/rest-api.php |
Validates that the given value is a member of the JSON Schema “enum”. |
rest_validate_null_value_from_schema() wp-includes/rest-api.php |
Validates a null value based on a schema. |
rest_validate_boolean_value_from_schema() wp-includes/rest-api.php |
Validates a boolean value based on a schema. |
rest_validate_object_value_from_schema() wp-includes/rest-api.php |
Validates an object value based on a schema. |
rest_validate_array_value_from_schema() wp-includes/rest-api.php |
Validates an array value based on a schema. |
rest_validate_number_value_from_schema() wp-includes/rest-api.php |
Validates a number value based on a schema. |
rest_validate_string_value_from_schema() wp-includes/rest-api.php |
Validates a string value based on a schema. |
WP_REST_Server::serve_batch_request_v1() wp-includes/rest-api/class-wp-rest-server.php |
Serves the batch/v1 request. |
WP_REST_Server::match_request_to_handler() wp-includes/rest-api/class-wp-rest-server.php |
Matches a request object to its handler. |
WP_REST_Server::respond_to_request() wp-includes/rest-api/class-wp-rest-server.php |
Dispatches the request to the callback handler. |
WP_REST_Site_Health_Controller::get_directory_sizes() wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php |
Gets the current directory sizes for this install. |
WP_REST_Application_Passwords_Controller::do_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php |
Performs a permissions check for the request. |
WP_REST_Application_Passwords_Controller::get_user() wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php |
Gets the requested user. |
WP_REST_Application_Passwords_Controller::get_application_password() wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php |
Gets the requested application password for a user. |
WP_REST_Application_Passwords_Controller::get_items_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php |
Checks if a given request has access to get application passwords. |
WP_REST_Application_Passwords_Controller::get_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php |
Checks if a given request has access to get a specific application password. |
WP_REST_Application_Passwords_Controller::create_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php |
Checks if a given request has access to create application passwords. |
WP_REST_Application_Passwords_Controller::update_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php |
Checks if a given request has access to update application passwords. |
WP_REST_Application_Passwords_Controller::delete_items_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php |
Checks if a given request has access to delete all application passwords for a user. |
WP_REST_Application_Passwords_Controller::delete_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php |
Checks if a given request has access to delete a specific application password for a user. |
WP_Image_Editor_Imagick::write_image() wp-includes/class-wp-image-editor-imagick.php |
Writes an image to a file or stream. |
WP_Application_Passwords::delete_application_password() wp-includes/class-wp-application-passwords.php |
Deletes an application password. |
WP_Application_Passwords::delete_all_application_passwords() wp-includes/class-wp-application-passwords.php |
Deletes all application passwords for the given user. |
WP_Application_Passwords::create_new_application_password() wp-includes/class-wp-application-passwords.php |
Creates a new application password. |
WP_Application_Passwords::update_application_password() wp-includes/class-wp-application-passwords.php |
Updates an application password. |
WP_Application_Passwords::record_application_password_usage() wp-includes/class-wp-application-passwords.php |
Records that an application password has been used. |
wp_authenticate_application_password() wp-includes/user.php |
Authenticates the user using an application password. |
rest_format_combining_operation_error() wp-includes/rest-api.php |
Formats a combining operation error into a WP_Error object. |
rest_get_combining_operation_error() wp-includes/rest-api.php |
Gets the error of combining operation. |
rest_find_one_matching_schema() wp-includes/rest-api.php |
Finds the matching schema among the “oneOf” schemas. |
wp_is_authorize_application_password_request_valid() wp-admin/includes/user.php |
Checks if the Authorize Application Password request is valid. |
WP_REST_Block_Directory_Controller::get_items_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php |
Checks whether a given request has permission to install and activate plugins. |
WP_REST_Plugins_Controller::get_plugin_data() wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php |
Gets the plugin header data for a plugin. |
WP_REST_Plugins_Controller::plugin_status_permission_check() wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php |
Handle updating a plugin’s status. |
WP_REST_Plugins_Controller::handle_plugin_status() wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php |
Handle updating a plugin’s status. |
WP_REST_Plugins_Controller::is_filesystem_available() wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php |
Determine if the endpoints are available. |
WP_REST_Plugins_Controller::get_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php |
Checks if a given request has access to get a specific plugin. |
WP_REST_Plugins_Controller::check_read_permission() wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php |
Checks if the given plugin can be viewed by the current user. |
WP_REST_Plugins_Controller::create_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php |
Checks if a given request has access to upload plugins. |
WP_REST_Plugins_Controller::create_item() wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php |
Uploads a plugin and optionally activates it. |
WP_REST_Plugins_Controller::update_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php |
Checks if a given request has access to update a specific plugin. |
WP_REST_Plugins_Controller::delete_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php |
Checks if a given request has access to delete a specific plugin. |
WP_REST_Plugins_Controller::delete_item() wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php |
Deletes one plugin from the site. |
WP_REST_Plugins_Controller::get_items_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php |
Checks if a given request has access to get plugins. |
WP_REST_Block_Types_Controller::get_block() wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php |
Get the block, if the name is valid. |
WP_REST_Block_Types_Controller::check_read_permission() wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php |
Checks whether a given block type should be visible. |
WP_REST_Attachments_Controller::edit_media_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php |
Checks if a given request has access to editing media. |
WP_REST_Attachments_Controller::edit_media_item() wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php |
Applies edits to a media item and creates a new attachment record. |
register_theme_feature() wp-includes/theme.php |
Registers a theme feature for use in add_theme_support() . |
validate_theme_requirements() wp-includes/theme.php |
Validates the theme requirements for WordPress version and PHP version. |
WP_Image_Editor_Imagick::make_subsize() wp-includes/class-wp-image-editor-imagick.php |
Create an image sub-size and return the image meta data value for it. |
WP_Image_Editor_Imagick::maybe_exif_rotate() wp-includes/class-wp-image-editor-imagick.php |
Check if a JPEG image has EXIF Orientation tag and rotate it if needed. |
WP_Image_Editor_GD::make_subsize() wp-includes/class-wp-image-editor-gd.php |
Create an image sub-size and return the image meta data value for it. |
wp_update_image_subsizes() wp-admin/includes/image.php |
If any of the currently registered image sub-sizes are missing, create them and update the image meta data. |
WP_Recovery_Mode::handle_error() wp-includes/class-wp-recovery-mode.php |
Handles a fatal error occurring. |
WP_Recovery_Mode_Key_Service::validate_recovery_mode_key() wp-includes/class-wp-recovery-mode-key-service.php |
Verifies if the recovery mode key is correct. |
WP_Recovery_Mode_Email_Service::maybe_send_recovery_mode_email() wp-includes/class-wp-recovery-mode-email-service.php |
Sends the recovery mode email if the rate limit has not been sent. |
WP_Recovery_Mode_Cookie_Service::validate_cookie() wp-includes/class-wp-recovery-mode-cookie-service.php |
Validates the recovery mode cookie. |
WP_Recovery_Mode_Cookie_Service::get_session_id_from_cookie() wp-includes/class-wp-recovery-mode-cookie-service.php |
Gets the session identifier from the cookie. |
WP_Recovery_Mode_Cookie_Service::parse_cookie() wp-includes/class-wp-recovery-mode-cookie-service.php |
Parses the cookie into its four parts. |
WP_Fatal_Error_Handler::display_default_error_template() wp-includes/class-wp-fatal-error-handler.php |
Displays the default PHP error template. |
verify_file_signature() wp-admin/includes/file.php |
Verifies the contents of a file against its ED25519 signature. |
resume_theme() wp-admin/includes/theme.php |
Tries to resume a single theme. |
WP_Site_Health::get_cron_tasks() wp-admin/includes/class-wp-site-health.php |
Populates the list of cron events and store them to a class-wide variable. |
resume_plugin() wp-admin/includes/plugin.php |
Tries to resume a single plugin. |
validate_plugin_requirements() wp-admin/includes/plugin.php |
Validates the plugin requirements for WordPress version and PHP version. |
wp_initialize_site() wp-includes/ms-site.php |
Runs the initialization routine for a given site. |
wp_uninitialize_site() wp-includes/ms-site.php |
Runs the uninitialization routine for a given site. |
wp_prepare_site_data() wp-includes/ms-site.php |
Prepares site data for insertion or update in the database. |
wp_insert_site() wp-includes/ms-site.php |
Inserts a new site into the database. |
wp_update_site() wp-includes/ms-site.php |
Updates a site in the database. |
wp_delete_site() wp-includes/ms-site.php |
Deletes a site from the database. |
Language_Pack_Upgrader::clear_destination() wp-admin/includes/class-language-pack-upgrader.php |
Clears existing translations where this item is going to be installed into. |
WP_REST_Search_Controller::get_items() wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php |
Retrieves a collection of search results. |
WP_REST_Search_Controller::get_search_handler() wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php |
Gets the search handler to handle the current request. |
WP_REST_Themes_Controller::get_items_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php |
Checks if a given request has access to read the theme. |
WP_REST_Autosaves_Controller::get_items_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php |
Checks if a given request has access to get autosaves. |
WP_REST_Autosaves_Controller::create_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php |
Checks if a given request has access to create an autosave revision. |
WP_REST_Autosaves_Controller::get_item() wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php |
Get the autosave, if the ID is valid. |
WP_REST_Autosaves_Controller::create_post_autosave() wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php |
Creates autosave for the specified post. |
WP_REST_Block_Renderer_Controller::get_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-block-renderer-controller.php |
Checks if a given request has access to read blocks. |
WP_REST_Block_Renderer_Controller::get_item() wp-includes/rest-api/endpoints/class-wp-rest-block-renderer-controller.php |
Returns block output from block’s registered render_callback. |
WP_REST_Attachments_Controller::check_upload_size() wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php |
Determine if uploaded file exceeds space quota on multisite. |
wp_validate_user_request_key() wp-includes/user.php |
Validates a user request by comparing the key with the request’s key. |
wp_create_user_request() wp-includes/user.php |
Creates and logs a user request to perform a specific action. |
wp_send_user_request() wp-includes/user.php |
Send a confirmation request email to confirm an action. |
wp_privacy_send_personal_data_export_email() wp-admin/includes/privacy-tools.php |
Send an email to the user with a link to the personal data export file |
_wp_privacy_resend_request() wp-admin/includes/privacy-tools.php |
Resend an existing request and return the result. |
_wp_privacy_completed_request() wp-admin/includes/privacy-tools.php |
Marks a request as completed by the admin and logs the current timestamp. |
wp_unschedule_hook() wp-includes/cron.php |
Unschedules all events attached to the hook. |
WP_REST_Posts_Controller::check_template() wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php |
Checks whether the template is valid for the given post. |
wp_edit_theme_plugin_file() wp-admin/includes/file.php |
Attempts to edit a file for a theme or plugin. |
WP_REST_Users_Controller::get_user() wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php |
Get the user, if the ID is valid. |
WP_REST_Revisions_Controller::get_revision() wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php |
Get the revision, if the ID is valid. |
WP_REST_Revisions_Controller::get_parent() wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php |
Get the parent post, if the ID is valid. |
WP_REST_Terms_Controller::get_term() wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php |
Get the term, if the ID is valid. |
WP_REST_Posts_Controller::get_post() wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php |
Gets the post, if the ID is valid. |
WP_REST_Comments_Controller::get_comment() wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php |
Get the comment, if the ID is valid. |
WP_oEmbed_Controller::get_proxy_item_permissions_check() wp-includes/class-wp-oembed-controller.php |
Checks if current user can make a proxy oEmbed request. |
WP_oEmbed_Controller::get_proxy_item() wp-includes/class-wp-oembed-controller.php |
Callback for the proxy API endpoint. |
WP_Community_Events::get_events() wp-admin/includes/class-wp-community-events.php |
Gets data about events near a particular location. |
rest_sanitize_value_from_schema() wp-includes/rest-api.php |
Sanitize a value based on a schema. |
rest_validate_value_from_schema() wp-includes/rest-api.php |
Validate a value based on a schema. |
WP_Customize_Manager::_sanitize_background_setting() wp-includes/class-wp-customize-manager.php |
Callback for validating a background setting value. |
WP_Customize_Manager::save_changeset_post() wp-includes/class-wp-customize-manager.php |
Saves the post for the loaded changeset. |
WP_Customize_Manager::get_changeset_post_data() wp-includes/class-wp-customize-manager.php |
Gets the data stored in a changeset post. |
WP_Image_Editor_Imagick::pdf_setup() wp-includes/class-wp-image-editor-imagick.php |
Sets up Imagick for PDF processing. |
WP_REST_Meta_Fields::delete_meta_value() wp-includes/rest-api/fields/class-wp-rest-meta-fields.php |
Deletes a meta value for an object. |
WP_REST_Meta_Fields::update_multi_meta_value() wp-includes/rest-api/fields/class-wp-rest-meta-fields.php |
Updates multiple meta values for an object. |
WP_REST_Meta_Fields::update_meta_value() wp-includes/rest-api/fields/class-wp-rest-meta-fields.php |
Updates a meta value for an object. |
WP_REST_Meta_Fields::update_value() wp-includes/rest-api/fields/class-wp-rest-meta-fields.php |
Updates meta values. |
WP_REST_Users_Controller::check_username() wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php |
Check a username for the REST API. |
WP_REST_Users_Controller::check_user_password() wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php |
Check a user password for the REST API. |
WP_REST_Users_Controller::check_role_update() wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php |
Determines if the current user is allowed to make the desired roles change. |
WP_REST_Users_Controller::delete_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php |
Checks if a given request has access delete a user. |
WP_REST_Users_Controller::delete_item() wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php |
Deletes a single user. |
WP_REST_Users_Controller::get_current_item() wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php |
Retrieves the current user. |
WP_REST_Users_Controller::create_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php |
Checks if a given request has access create users. |
WP_REST_Users_Controller::create_item() wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php |
Creates a single user. |
WP_REST_Users_Controller::update_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php |
Checks if a given request has access to update a user. |
WP_REST_Users_Controller::update_item() wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php |
Updates a single user. |
WP_REST_Users_Controller::check_reassign() wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php |
Checks for a valid value for the reassign parameter when deleting users. |
WP_REST_Users_Controller::get_items_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php |
Permissions check for getting all users. |
WP_REST_Users_Controller::get_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php |
Checks if a given request has access to read a user. |
WP_REST_Revisions_Controller::delete_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php |
Checks if a given request has access to delete a revision. |
WP_REST_Revisions_Controller::delete_item() wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php |
Deletes a single revision. |
WP_REST_Attachments_Controller::upload_from_file() wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php |
Handles an upload via multipart/form-data ($_FILES). |
WP_REST_Revisions_Controller::get_items_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php |
Checks if a given request has access to get revisions. |
WP_REST_Revisions_Controller::get_items() wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php |
Gets a collection of revisions. |
WP_REST_Attachments_Controller::upload_from_data() wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php |
Handles an upload via raw POST data. |
WP_REST_Attachments_Controller::create_item() wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php |
Creates a single attachment. |
WP_REST_Attachments_Controller::update_item() wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php |
Updates a single attachment. |
WP_REST_Attachments_Controller::create_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php |
Checks if a given request has access to create an attachment. |
WP_REST_Post_Statuses_Controller::get_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php |
Checks if a given request has access to read a post status. |
WP_REST_Post_Statuses_Controller::get_item() wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php |
Retrieves a specific post status. |
WP_REST_Post_Statuses_Controller::get_items_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php |
Checks whether a given request has permission to read post statuses. |
WP_REST_Settings_Controller::update_item() wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php |
Updates settings for the settings object. |
WP_REST_Terms_Controller::delete_item() wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php |
Deletes a single term from a taxonomy. |
WP_REST_Terms_Controller::create_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php |
Checks if a request has access to create a term. |
WP_REST_Terms_Controller::create_item() wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php |
Creates a single term in a taxonomy. |
WP_REST_Terms_Controller::update_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php |
Checks if a request has access to update the specified term. |
WP_REST_Terms_Controller::update_item() wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php |
Updates a single term from a taxonomy. |
WP_REST_Terms_Controller::delete_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php |
Checks if a request has access to delete the specified term. |
WP_REST_Terms_Controller::get_items_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php |
Checks if a request has access to read terms in the specified taxonomy. |
WP_REST_Terms_Controller::get_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php |
Checks if a request has access to read or edit the specified term. |
WP_REST_Posts_Controller::sanitize_post_statuses() wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php |
Sanitizes and validates the list of post statuses, including whether the user can query private statuses. |
WP_REST_Posts_Controller::handle_status_param() wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php |
Determines validity and normalizes the given status parameter. |
WP_REST_Posts_Controller::handle_featured_media() wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php |
Determines the featured media based on a request param. |
WP_REST_Posts_Controller::prepare_item_for_database() wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php |
Prepares a single post for create or update. |
WP_REST_Posts_Controller::create_item() wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php |
Creates a single post. |
WP_REST_Posts_Controller::update_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php |
Checks if a given request has access to update a post. |
WP_REST_Posts_Controller::delete_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php |
Checks if a given request has access to delete a post. |
WP_REST_Posts_Controller::delete_item() wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php |
Deletes a single post. |
WP_REST_Posts_Controller::get_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php |
Checks if a given request has access to read a post. |
WP_REST_Posts_Controller::create_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php |
Checks if a given request has access to create a post. |
WP_REST_Posts_Controller::get_items_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php |
Checks if a given request has access to read posts. |
WP_REST_Posts_Controller::get_items() wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php |
Retrieves a collection of posts. |
WP_REST_Taxonomies_Controller::get_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php |
Checks if a given request has access to a taxonomy. |
WP_REST_Taxonomies_Controller::get_item() wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php |
Retrieves a specific taxonomy. |
WP_REST_Taxonomies_Controller::get_items_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php |
Checks whether a given request has permission to read taxonomies. |
WP_REST_Post_Types_Controller::get_items_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php |
Checks whether a given request has permission to read types. |
WP_REST_Post_Types_Controller::get_item() wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php |
Retrieves a specific post type. |
WP_REST_Controller::delete_item() wp-includes/rest-api/endpoints/class-wp-rest-controller.php |
Deletes one item from the collection. |
WP_REST_Controller::prepare_item_for_database() wp-includes/rest-api/endpoints/class-wp-rest-controller.php |
Prepares one item for create or update operation. |
WP_REST_Controller::prepare_item_for_response() wp-includes/rest-api/endpoints/class-wp-rest-controller.php |
Prepares the item for the REST response. |
WP_REST_Controller::delete_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-controller.php |
Checks if a given request has access to delete a specific item. |
WP_REST_Controller::get_item() wp-includes/rest-api/endpoints/class-wp-rest-controller.php |
Retrieves one item from the collection. |
WP_REST_Controller::create_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-controller.php |
Checks if a given request has access to create items. |
WP_REST_Controller::create_item() wp-includes/rest-api/endpoints/class-wp-rest-controller.php |
Creates one item from the collection. |
WP_REST_Controller::update_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-controller.php |
Checks if a given request has access to update a specific item. |
WP_REST_Controller::update_item() wp-includes/rest-api/endpoints/class-wp-rest-controller.php |
Updates one item from the collection. |
WP_REST_Controller::get_items_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-controller.php |
Checks if a given request has access to get items. |
WP_REST_Controller::get_items() wp-includes/rest-api/endpoints/class-wp-rest-controller.php |
Retrieves a collection of items. |
WP_REST_Controller::get_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-controller.php |
Checks if a given request has access to get a specific item. |
WP_REST_Comments_Controller::prepare_item_for_database() wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php |
Prepares a single comment to be inserted into the database. |
WP_REST_Comments_Controller::update_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php |
Checks if a given REST request has access to update a comment. |
WP_REST_Comments_Controller::update_item() wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php |
Updates a comment. |
WP_REST_Comments_Controller::delete_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php |
Checks if a given request has access to delete a comment. |
WP_REST_Comments_Controller::delete_item() wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php |
Deletes a comment. |
WP_REST_Comments_Controller::get_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php |
Checks if a given request has access to read the comment. |
WP_REST_Comments_Controller::create_item_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php |
Checks if a given request has access to create a comment. |
WP_REST_Comments_Controller::create_item() wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php |
Creates a comment. |
WP_REST_Comments_Controller::get_items_permissions_check() wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php |
Checks if a given request has access to read comments. |
wp_check_comment_data_max_lengths() wp-includes/comment.php |
Compares the lengths of comment data against the maximum character limits. |
WP_Customize_Nav_Menus::insert_auto_draft_post() wp-includes/class-wp-customize-nav-menus.php |
Adds a new |
WP_Customize_Custom_CSS_Setting::validate() wp-includes/customize/class-wp-customize-custom-css-setting.php |
Validate a received value for being valid CSS. |
WP_Customize_Manager::validate_setting_values() wp-includes/class-wp-customize-manager.php |
Validates setting values. |
WP_Customize_Setting::validate() wp-includes/class-wp-customize-setting.php |
Validates an input. |
WP_Ajax_Upgrader_Skin::__construct() wp-admin/includes/class-wp-ajax-upgrader-skin.php |
Constructor. |
WP_Metadata_Lazyloader::reset_queue() wp-includes/class-wp-metadata-lazyloader.php |
Resets lazy-load queue for a given object type. |
WP_Metadata_Lazyloader::queue_objects() wp-includes/class-wp-metadata-lazyloader.php |
Adds objects to the metadata lazy-load queue. |
WP_Image_Editor_Imagick::strip_meta() wp-includes/class-wp-image-editor-imagick.php |
Strips all image meta except color profiles from an image. |
WP_Image_Editor_Imagick::thumbnail_image() wp-includes/class-wp-image-editor-imagick.php |
Efficiently resize the current image |
unregister_taxonomy() wp-includes/taxonomy.php |
Unregisters a taxonomy. |
wp_authenticate_email_password() wp-includes/user.php |
Authenticates a user using the email and password. |
unregister_post_type() wp-includes/post.php |
Unregisters a post type. |
rest_cookie_check_errors() wp-includes/rest-api.php |
Checks for errors when using cookie-based authentication. |
add_term_meta() wp-includes/taxonomy.php |
Adds metadata to a term. |
update_term_meta() wp-includes/taxonomy.php |
Updates term metadata. |
WP_REST_Request::sanitize_params() wp-includes/rest-api/class-wp-rest-request.php |
Sanitizes (where possible) the params on the request. |
WP_REST_Request::has_valid_params() wp-includes/rest-api/class-wp-rest-request.php |
Checks whether this request is valid according to its attributes. |
WP_REST_Request::parse_json_params() wp-includes/rest-api/class-wp-rest-request.php |
Parses the JSON parameters. |
WP_REST_Response::as_error() wp-includes/rest-api/class-wp-rest-response.php |
Retrieves a WP_Error object from the response. |
WP_REST_Server::dispatch() wp-includes/rest-api/class-wp-rest-server.php |
Matches the request to a callback and call it. |
WP_REST_Server::get_namespace_index() wp-includes/rest-api/class-wp-rest-server.php |
Retrieves the index for a namespace. |
WP_REST_Server::serve_request() wp-includes/rest-api/class-wp-rest-server.php |
Handles serving a REST API request. |
WP_oEmbed_Controller::get_item() wp-includes/class-wp-oembed-controller.php |
Callback for the embed API endpoint. |
get_password_reset_key() wp-includes/user.php |
Creates, stores, then returns a password reset key for user. |
WP_Term::get_instance() wp-includes/class-wp-term.php |
Retrieve WP_Term instance. |
wp_handle_comment_submission() wp-includes/comment.php |
Handles the submission of a comment, usually posted to wp-comments-post.php via a comment form. |
WP_Customize_Nav_Menu_Item_Setting::sanitize() wp-includes/customize/class-wp-customize-nav-menu-item-setting.php |
Sanitize an input. |
WP_Customize_Nav_Menu_Item_Setting::update() wp-includes/customize/class-wp-customize-nav-menu-item-setting.php |
Creates/updates the nav_menu_item post for this setting. |
WP_Customize_Nav_Menus::load_available_items_query() wp-includes/class-wp-customize-nav-menus.php |
Performs the post_type and taxonomy queries for loading available menu items. |
WP_Upgrader::clear_destination() wp-admin/includes/class-wp-upgrader.php |
Clears the directory where this item is going to be installed into. |
wpdb::get_table_charset() wp-includes/class-wpdb.php |
Retrieves the character set for the given table. |
wpdb::strip_invalid_text() wp-includes/class-wpdb.php |
Strips any invalid characters based on value/charset pairs. |
translations_api() wp-admin/includes/translation-install.php |
Retrieve translations from WordPress Translation API. |
retrieve_password() wp-includes/user.php |
Handles sending a password retrieval email to a user. |
login_header() wp-login.php |
Output the login page header. |
show_user_form() wp-signup.php |
Displays the fields for the new user account registration form. |
signup_another_blog() wp-signup.php |
Shows a form for returning users to sign up for another site. |
signup_user() wp-signup.php |
Shows a form for a visitor to sign up for a new user account. |
signup_blog() wp-signup.php |
Shows a form for a user or visitor to sign up for a new site. |
show_blog_form() wp-signup.php |
Generates and displays the Sign-up and Create Site forms. |
WP_Automatic_Updater::update() wp-admin/includes/class-wp-automatic-updater.php |
Updates an item, if appropriate. |
Language_Pack_Upgrader::bulk_upgrade() wp-admin/includes/class-language-pack-upgrader.php |
Bulk upgrade language packs. |
Language_Pack_Upgrader::check_package() wp-admin/includes/class-language-pack-upgrader.php |
Checks that the package source contains .mo and .po files. |
Core_Upgrader::upgrade() wp-admin/includes/class-core-upgrader.php |
Upgrade WordPress core. |
Theme_Upgrader::check_package() wp-admin/includes/class-theme-upgrader.php |
Checks that the package source contains a valid theme. |
Plugin_Upgrader::check_package() wp-admin/includes/class-plugin-upgrader.php |
Checks that the source package contains a valid plugin. |
Plugin_Upgrader::deactivate_plugin_before_upgrade() wp-admin/includes/class-plugin-upgrader.php |
Deactivates a plugin before it is upgraded. |
Plugin_Upgrader::delete_old_plugin() wp-admin/includes/class-plugin-upgrader.php |
Deletes the old plugin during an upgrade. |
WP_Upgrader::fs_connect() wp-admin/includes/class-wp-upgrader.php |
Connect to the filesystem. |
WP_Upgrader::download_package() wp-admin/includes/class-wp-upgrader.php |
Download a package. |
WP_Upgrader::unpack_package() wp-admin/includes/class-wp-upgrader.php |
Unpack a compressed package file. |
WP_Upgrader::install_package() wp-admin/includes/class-wp-upgrader.php |
Install a package. |
WP_Filesystem_SSH2::__construct() wp-admin/includes/class-wp-filesystem-ssh2.php |
Constructor. |
delete_theme() wp-admin/includes/theme.php |
Removes a theme. |
themes_api() wp-admin/includes/theme.php |
Retrieves theme installer pages from the WordPress.org Themes API. |
WP_User_Search::query() wp-admin/includes/deprecated.php |
Executes the user search query. |
send_confirmation_on_profile_email() wp-includes/user.php |
Sends a confirmation request email when a change of user email address is attempted. |
WP_Filesystem_FTPext::__construct() wp-admin/includes/class-wp-filesystem-ftpext.php |
Constructor. |
WP_Filesystem_Direct::__construct() wp-admin/includes/class-wp-filesystem-direct.php |
Constructor. |
populate_network() wp-admin/includes/schema.php |
Populate network settings. |
wp_insert_category() wp-admin/includes/taxonomy.php |
Updates an existing Category or creates a new Category. |
plugins_api() wp-admin/includes/plugin-install.php |
Retrieves plugin installer pages from the WordPress.org Plugins API. |
validate_plugin() wp-admin/includes/plugin.php |
Validates the plugin path. |
activate_plugin() wp-admin/includes/plugin.php |
Attempts activation of plugin in a “sandbox” and redirects on success. |
activate_plugins() wp-admin/includes/plugin.php |
Activates multiple plugins. |
delete_plugins() wp-admin/includes/plugin.php |
Removes directory and files of a plugin for a list of plugins. |
edit_user() wp-admin/includes/user.php |
Edit user settings based on contents of $_POST |
media_sideload_image() wp-admin/includes/media.php |
Downloads an image from the specified URL, saves it as an attachment, and optionally attaches it to a post. |
media_handle_upload() wp-admin/includes/media.php |
Saves a file submitted from a POST request and create an attachment post for it. |
media_handle_sideload() wp-admin/includes/media.php |
Handles a side-loaded file in the same way as an uploaded file is handled by media_handle_upload() . |
wp_autosave() wp-admin/includes/post.php |
Saves a post submitted with XHR. |
wp_write_post() wp-admin/includes/post.php |
Creates a new post from the “Write Post” form using |
_wp_translate_postdata() wp-admin/includes/post.php |
Renames |
wp_ajax_dim_comment() wp-admin/includes/ajax-actions.php |
Ajax handler to dim a comment. |
wp_ajax_add_tag() wp-admin/includes/ajax-actions.php |
Ajax handler to add a tag. |
update_core() wp-admin/includes/update-core.php |
Upgrades the core of WordPress. |
wp_insert_link() wp-admin/includes/bookmark.php |
Inserts a link into the database, or updates an existing link. |
wp_get_nav_menu_to_edit() wp-admin/includes/nav-menu.php |
Returns the menu formatted to edit. |
WP_Filesystem_ftpsockets::__construct() wp-admin/includes/class-wp-filesystem-ftpsockets.php |
Constructor. |
download_url() wp-admin/includes/file.php |
Downloads a URL to a local temporary file using the WordPress HTTP API. |
verify_file_md5() wp-admin/includes/file.php |
Calculates and compares the MD5 of a file to its expected value. |
unzip_file() wp-admin/includes/file.php |
Unzips a specified ZIP file to a location on the filesystem via the WordPress Filesystem Abstraction. |
_unzip_file_ziparchive() wp-admin/includes/file.php |
Attempts to unzip an archive using the ZipArchive class. |
_unzip_file_pclzip() wp-admin/includes/file.php |
Attempts to unzip an archive using the PclZip library. |
copy_dir() wp-admin/includes/file.php |
Copies a directory from one location to another via the WordPress Filesystem Abstraction. |
WP_Customize_Manager::save() wp-includes/class-wp-customize-manager.php |
Handles customize_save WP Ajax request to save/update a changeset. |
wp_schedule_event() wp-includes/cron.php |
Schedules a recurring event. |
wp_reschedule_event() wp-includes/cron.php |
Reschedules a recurring event. |
wp_unschedule_event() wp-includes/cron.php |
Unschedules a previously scheduled event. |
wp_clear_scheduled_hook() wp-includes/cron.php |
Unschedules all events attached to the hook with the specified arguments. |
_set_cron_array() wp-includes/cron.php |
Updates the cron option with the new cron array. |
wp_schedule_single_event() wp-includes/cron.php |
Schedules an event to run only once. |
wp_authenticate() wp-includes/pluggable.php |
Authenticates a user, confirming the login credentials are valid. |
wp_mail() wp-includes/pluggable.php |
Sends an email, similar to PHP’s mail function. |
WP_Theme::__construct() wp-includes/class-wp-theme.php |
Constructor for WP_Theme. |
WP_Image_Editor_Imagick::update_size() wp-includes/class-wp-image-editor-imagick.php |
Sets or updates current image size. |
WP_Image_Editor_Imagick::resize() wp-includes/class-wp-image-editor-imagick.php |
Resizes current image. |
WP_Image_Editor_Imagick::crop() wp-includes/class-wp-image-editor-imagick.php |
Crops Image. |
WP_Image_Editor_Imagick::rotate() wp-includes/class-wp-image-editor-imagick.php |
Rotates current image counter-clockwise by $angle. |
WP_Image_Editor_Imagick::flip() wp-includes/class-wp-image-editor-imagick.php |
Flips current image. |
WP_Image_Editor_Imagick::save() wp-includes/class-wp-image-editor-imagick.php |
Saves current image to file. |
WP_Image_Editor_Imagick::_save() wp-includes/class-wp-image-editor-imagick.php | |
WP_Image_Editor_Imagick::stream() wp-includes/class-wp-image-editor-imagick.php |
Streams current image to browser. |
WP_Image_Editor_Imagick::load() wp-includes/class-wp-image-editor-imagick.php |
Loads image from $this->file into new Imagick Object. |
WP_Image_Editor_Imagick::set_quality() wp-includes/class-wp-image-editor-imagick.php |
Sets Image Compression quality on a 1-100% scale. |
WP_Http_Curl::request() wp-includes/class-wp-http-curl.php |
Send a HTTP request to a URI using cURL extension. |
WP_Http_Streams::request() wp-includes/class-wp-http-streams.php |
Send a HTTP request to a URI using PHP Streams. |
WP_Http::handle_redirects() wp-includes/class-wp-http.php |
Handles an HTTP redirect and follows it if appropriate. |
WP_Http::_dispatch_request() wp-includes/class-wp-http.php |
Dispatches a HTTP request to a supporting transport. |
WP_Http::request() wp-includes/class-wp-http.php |
Send an HTTP request to a URI. |
WP_Tax_Query::clean_query() wp-includes/class-wp-tax-query.php |
Validates a single query. |
WP_Tax_Query::transform_query() wp-includes/class-wp-tax-query.php |
Transforms a single query, from one field to another. |
get_term_link() wp-includes/taxonomy.php |
Generates a permalink for a taxonomy term archive. |
is_object_in_term() wp-includes/taxonomy.php |
Determines if the given object is associated with any of the given terms. |
wp_update_term() wp-includes/taxonomy.php |
Updates term based on arguments provided. |
wp_get_object_terms() wp-includes/taxonomy.php |
Retrieves the terms associated with the given object(s), in the supplied taxonomies. |
wp_set_object_terms() wp-includes/taxonomy.php |
Creates term and taxonomy relationships. |
wp_insert_term() wp-includes/taxonomy.php |
Adds a new term to the database. |
wp_remove_object_terms() wp-includes/taxonomy.php |
Removes term(s) associated with a given object. |
get_term_children() wp-includes/taxonomy.php |
Merges all term children into a single array of their IDs. |
get_terms() wp-includes/taxonomy.php |
Retrieves the terms in a given taxonomy or list of taxonomies. |
register_taxonomy() wp-includes/taxonomy.php |
Creates or modifies a taxonomy object. |
get_objects_in_term() wp-includes/taxonomy.php |
Retrieves object IDs of valid taxonomy and term. |
get_term() wp-includes/taxonomy.php |
Gets all term data from database by term ID. |
WP_Image_Editor::set_quality() wp-includes/class-wp-image-editor.php |
Sets Image Compression quality on a 1-100% scale. |
WP_oEmbed::_fetch_with_format() wp-includes/class-wp-oembed.php |
Fetches result from an oEmbed provider for a specific format and complete provider URL |
fetch_feed() wp-includes/feed.php |
Builds SimplePie object based on RSS or Atom feed from URL. |
wp_update_user() wp-includes/user.php |
Updates a user in the database. |
check_password_reset_key() wp-includes/user.php |
Retrieves a user row based on password reset key and login. |
register_new_user() wp-includes/user.php |
Handles registering a new user. |
wp_insert_user() wp-includes/user.php |
Inserts a user into the database. |
wp_authenticate_username_password() wp-includes/user.php |
Authenticates a user, confirming the username and password are valid. |
wp_authenticate_cookie() wp-includes/user.php |
Authenticates the user using the WordPress auth cookie. |
wp_authenticate_spam_check() wp-includes/user.php |
For Multisite blogs, checks if the authenticated user has been marked as a spammer, or if the user’s primary blog has been marked as spam. |
WP_Image_Editor_GD::load() wp-includes/class-wp-image-editor-gd.php |
Loads image from $this->file into new GD Resource. |
WP_Image_Editor_GD::resize() wp-includes/class-wp-image-editor-gd.php |
Resizes current image. |
WP_Image_Editor_GD::_resize() wp-includes/class-wp-image-editor-gd.php | |
WP_Image_Editor_GD::crop() wp-includes/class-wp-image-editor-gd.php |
Crops Image. |
WP_Image_Editor_GD::rotate() wp-includes/class-wp-image-editor-gd.php |
Rotates current image counter-clockwise by $angle. |
WP_Image_Editor_GD::flip() wp-includes/class-wp-image-editor-gd.php |
Flips current image. |
WP_Image_Editor_GD::_save() wp-includes/class-wp-image-editor-gd.php | |
wp_get_image_editor() wp-includes/media.php |
Returns a WP_Image_Editor instance and loads file into it. |
wp_insert_post() wp-includes/post.php |
Inserts or update a post. |
wp_update_post() wp-includes/post.php |
Updates a post with new post data. |
register_post_type() wp-includes/post.php |
Registers a post type. |
_wp_put_post_revision() wp-includes/revision.php |
Inserts post data into the posts table as a post revision. |
wpmu_activate_signup() wp-includes/ms-functions.php |
Activates a signup. |
wpmu_create_blog() wp-includes/ms-functions.php |
Creates a site. |
wpmu_validate_user_signup() wp-includes/ms-functions.php |
Sanitizes and validates data required for a user sign-up. |
wpmu_validate_blog_signup() wp-includes/ms-functions.php |
Processes new site registrations. |
add_user_to_blog() wp-includes/ms-functions.php |
Adds a user to a blog, along with specifying the user’s role. |
remove_user_from_blog() wp-includes/ms-functions.php |
Removes a user from a blog. |
set_post_format() wp-includes/post-formats.php |
Assign a format to a post |
wp_update_nav_menu_object() wp-includes/nav-menu.php |
Saves the properties of a menu or create a new menu with those properties. |
wp_update_nav_menu_item() wp-includes/nav-menu.php |
Saves the properties of a menu item or create a new one. |
wp_xmlrpc_server::login() wp-includes/class-wp-xmlrpc-server.php |
Logs user in. |
wpdb::bail() wp-includes/class-wpdb.php |
Wraps errors in a nice header and footer and dies. |
wpdb::check_database_version() wp-includes/class-wpdb.php |
Determines whether MySQL database is at least the required minimum version. |
wpdb::set_prefix() wp-includes/class-wpdb.php |
Sets the table prefix for the WordPress tables. |
WP_Customize_Widgets::call_widget_update() wp-includes/class-wp-customize-widgets.php |
Finds and invokes the widget update and control callbacks. |
WP_Customize_Widgets::parse_widget_setting_id() wp-includes/class-wp-customize-widgets.php |
Converts a widget setting ID (option path) to its id_base and number components. |
wp_set_comment_status() wp-includes/comment.php |
Sets the status of a comment. |
wp_update_comment() wp-includes/comment.php |
Updates an existing comment in the database. |
wp_allow_comment() wp-includes/comment.php |
Validates whether this comment is allowed to be made. |
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |