apply_filters( string $hook_name, mixed $value, mixed $args )
Calls the callback functions that have been added to a filter hook.
Description
This function invokes all functions attached to filter hook $hook_name
.
It is possible to create new filter hooks by simply calling this function, specifying the name of the new hook using the $hook_name
parameter.
The function also allows for multiple additional arguments to be passed to hooks.
Example usage:
// The filter callback function.
function example_callback( $string, $arg1, $arg2 ) {
// (maybe) modify $string.
return $string;
}
add_filter( 'example_filter', 'example_callback', 10, 3 );
/*
* Apply the filters by calling the 'example_callback()' function
* that's hooked onto `example_filter` above.
*
* - 'example_filter' is the filter hook.
* - 'filter me' is the value being filtered.
* - $arg1 and $arg2 are the additional arguments passed to the callback.
$value = apply_filters( 'example_filter', 'filter me', $arg1, $arg2 );
Parameters
- $hook_name
-
(Required) The name of the filter hook.
- $value
-
(Required) The value to filter.
- $args
-
(Required) Additional parameters to pass to the callback functions.
Return
(mixed) The filtered value after all hooked functions are applied to it.
Source
File: wp-includes/plugin.php
function apply_filters( $tag, $value ) {
global $wp_filter, $wp_current_filter;
$args = array();
// Do 'all' actions first.
if ( isset($wp_filter['all']) ) {
$wp_current_filter[] = $tag;
$args = func_get_args();
_wp_call_all_hook($args);
}
if ( !isset($wp_filter[$tag]) ) {
if ( isset($wp_filter['all']) )
array_pop($wp_current_filter);
return $value;
}
if ( !isset($wp_filter['all']) )
$wp_current_filter[] = $tag;
if ( empty($args) )
$args = func_get_args();
// don't pass the tag name to WP_Hook
array_shift( $args );
$filtered = $wp_filter[ $tag ]->apply_filters( $value, $args );
array_pop( $wp_current_filter );
return $filtered;
}
Related
Uses
Uses | Description |
---|---|
wp-includes/plugin.php: _wp_call_all_hook() |
Calls the ‘all’ hook, which will process the functions hooked into it. |
Used By
Used By | Description |
---|---|
wp-admin/includes/class-wp-media-list-table.php: WP_Media_List_Table::media_categories_dropdown() |
Displays a media categories drop-down for filtering on the Media list table. |
wp-admin/includes/class-wp-ms-sites-list-table.php: WP_MS_Sites_List_Table::site_states() |
Maybe output comma-separated site states. |
wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php: WP_Privacy_Data_Export_Requests_List_Table::column_email() |
Actions column. |
wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php: WP_Privacy_Data_Export_Requests_List_Table::column_next_steps() |
Displays the next steps column. |
wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php: WP_Privacy_Data_Removal_Requests_List_Table::column_email() |
Actions column. |
wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php: WP_Privacy_Data_Removal_Requests_List_Table::column_next_steps() |
Next steps column. |
wp-admin/includes/class-plugin-installer-skin.php: Plugin_Installer_Skin::do_overwrite() |
Check if the plugin can be overwritten and output the HTML for overwriting a plugin on upload. |
wp-admin/includes/class-wp-comments-list-table.php: WP_Comments_List_Table::comment_type_dropdown() |
Displays a comment type drop-down for filtering on the Comments list table. |
wp-admin/includes/class-wp-ms-themes-list-table.php: WP_MS_Themes_List_Table::column_autoupdates() |
Handles the auto-updates column output. |
wp-admin/includes/class-theme-installer-skin.php: Theme_Installer_Skin::do_overwrite() |
Check if the theme can be overwritten and output the HTML for overwriting a theme on upload. |
wp-admin/includes/update.php: wp_is_auto_update_enabled_for_type() |
Checks whether auto-updates are enabled. |
wp-admin/includes/update.php: wp_is_auto_update_forced_for_item() |
Checks whether auto-updates are forced for an item. |
wp-admin/includes/image.php: wp_get_missing_image_subsizes() |
Compare the existing image sub-sizes (as saved in the attachment meta) to the currently registered image sub-sizes, and return the difference. |
wp-admin/includes/image.php: wp_update_image_subsizes() |
If any of the currently registered image sub-sizes are missing, create them and update the image meta data. |
wp-admin/includes/image.php: wp_create_image_subsizes() |
Creates image sub-sizes, adds the new data to the image meta |
wp-admin/includes/schema.php: populate_network_meta() |
Creates WordPress network meta and sets the default values. |
wp-admin/includes/schema.php: populate_site_meta() |
Creates WordPress site meta and sets the default values. |
wp-admin/themes.php: wp_theme_auto_update_setting_template() |
Returns the JavaScript template used to display the auto-update setting for a theme. |
wp-includes/error-protection.php: wp_is_fatal_error_handler_enabled() |
Checks whether the fatal error handler is enabled. |
wp-includes/https-detection.php: wp_is_site_url_using_https() |
Checks whether the current site’s URL where WordPress is stored is using HTTPS. |
wp-includes/https-detection.php: wp_update_https_detection_errors() |
Runs a remote HTTPS request to detect whether HTTPS supported, and stores potential errors. |
wp-includes/embed.php: wp_filter_oembed_iframe_title_attribute() |
Filters the given oEmbed HTML to make sure iframes have a title attribute. |
wp-includes/embed.php: get_oembed_response_data_for_url() |
Retrieves the oEmbed response data for a given URL. |
wp-includes/robots-template.php: wp_robots() |
Displays the robots meta tag as necessary. |
wp-includes/ms-functions.php: wpmu_new_site_admin_notification() |
Notifies the Multisite network administrator that a new site was created. |
wp-includes/script-loader.php: wp_maybe_inline_styles() |
Allows small styles to be inlined. |
wp-includes/script-loader.php: wp_get_script_tag() |
Formats |
wp-includes/script-loader.php: wp_get_inline_script_tag() |
Wraps inline JavaScript in |
wp-includes/script-loader.php: wp_tinymce_inline_scripts() |
Adds inline scripts required for the TinyMCE in the block editor. |
wp-includes/sitemaps.php: wp_sitemaps_get_max_urls() |
Gets the maximum number of URLs for a sitemap. |
wp-includes/meta.php: get_metadata_raw() |
Retrieves raw metadata value for the specified object. |
wp-includes/meta.php: get_metadata_default() |
Retrieves default metadata value for the specified meta key and object. |
wp-includes/rest-api/endpoints/class-wp-rest-menu-locations-controller.php: WP_REST_Menu_Locations_Controller::prepare_item_for_response() |
Prepares a menu location object for serialization. |
wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php: WP_REST_Revisions_Controller::prepare_items_query() |
Determines the allowed query_vars for a get_items() response and prepares them for WP_Query. |
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::check_is_comment_content_allowed() |
If empty comments are not allowed, checks if the provided comment content is not empty. |
wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php: WP_REST_Sidebars_Controller::prepare_item_for_response() |
Prepares a single sidebar output for response. |
wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php: WP_REST_Site_Health_Controller::validate_request_permission() |
Validates if the current user can request this REST endpoint. |
wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php: WP_REST_Menus_Controller::prepare_item_for_response() |
Prepares a single term output for response. |
wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php: WP_REST_Autosaves_Controller::prepare_item_for_response() |
Prepares the revision for the REST response. |
wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php: WP_REST_Application_Passwords_Controller::prepare_item_for_database() |
Prepares an application password for a create or update operation. |
wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php: WP_REST_Application_Passwords_Controller::prepare_item_for_response() |
Prepares the application password for the REST response. |
wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php: WP_REST_Menu_Items_Controller::prepare_item_for_database() |
Prepares a single post for create or update. |
wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php: WP_REST_Menu_Items_Controller::prepare_item_for_response() |
Prepares a single post output for response. |
wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php: WP_REST_Plugins_Controller::create_item() |
Uploads a plugin and optionally activates it. |
wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php: WP_REST_Plugins_Controller::prepare_item_for_response() |
Prepares the plugin for the REST response. |
wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php: WP_REST_Themes_Controller::prepare_item_for_response() |
Prepares a single theme output for response. |
wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php: WP_REST_Themes_Controller::get_collection_params() |
Retrieves the search params for the themes collection. |
wp-includes/rest-api/search/class-wp-rest-post-format-search-handler.php: WP_REST_Post_Format_Search_Handler::search_items() |
Searches the object type content for a given search request. |
wp-includes/rest-api/search/class-wp-rest-term-search-handler.php: WP_REST_Term_Search_Handler::search_items() |
Searches the object type content for a given search request. |
wp-includes/rest-api/search/class-wp-rest-post-search-handler.php: WP_REST_Post_Search_Handler::search_items() |
Searches the object type content for a given search request. |
wp-includes/object-relationships.php: cp_recognized_relationship_objects() |
Specifies the names of objects that will be stored in the object-relationships table. |
wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php: WP_Sitemaps_Taxonomies::get_taxonomies_query_args() |
Returns the query args for retrieving taxonomy terms to list in the sitemap. |
wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php: WP_Sitemaps_Posts::get_object_subtypes() |
Returns the public post types, which excludes nav_items and similar types. |
wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php: WP_Sitemaps_Posts::get_url_list() |
Gets a URL list for a post type sitemap. |
wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php: WP_Sitemaps_Posts::get_max_num_pages() |
Gets the max number of pages available for the object type. |
wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php: WP_Sitemaps_Posts::get_posts_query_args() |
Returns the query args for retrieving posts to list in the sitemap. |
wp-includes/sitemaps/providers/class-wp-sitemaps-users.php: WP_Sitemaps_Users::get_url_list() |
Gets a URL list for a user sitemap. |
wp-includes/sitemaps/providers/class-wp-sitemaps-users.php: WP_Sitemaps_Users::get_max_num_pages() |
Gets the max number of pages available for the object type. |
wp-includes/sitemaps/providers/class-wp-sitemaps-users.php: WP_Sitemaps_Users::get_users_query_args() |
Returns the query args for retrieving users to list in the sitemap. |
wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php: WP_Sitemaps_Taxonomies::get_object_subtypes() |
Returns all public, registered taxonomies. |
wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php: WP_Sitemaps_Taxonomies::get_url_list() |
Gets a URL list for a taxonomy sitemap. |
wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php: WP_Sitemaps_Taxonomies::get_max_num_pages() |
Gets the max number of pages available for the object type. |
wp-includes/link-template.php: wp_internal_hosts() |
Returns an array of URL hosts which are considered to be internal hosts. |
wp-includes/link-template.php: is_avatar_comment_type() |
Check if this comment type allows avatars to be retrieved. |
wp-includes/general-template.php: wp_required_field_indicator() |
Assigns a visual indicator for required form fields. |
wp-includes/general-template.php: wp_required_field_message() |
Creates a message to explain required form fields. |
wp-includes/general-template.php: wp_get_code_editor_settings() |
Generates and returns code editor settings. |
wp-includes/general-template.php: wp_preload_resources() |
Prints resource preloads directives to browsers. |
wp-includes/https-migration.php: wp_should_replace_insecure_home_url() |
Checks whether WordPress should replace old HTTP URLs to the site with their HTTPS counterpart. |
wp-includes/cron.php: wp_get_ready_cron_jobs() |
Retrieves cron jobs ready to be run. |
wp-includes/cron.php: wp_get_scheduled_event() |
Retrieves a scheduled event. |
wp-includes/ms-site.php: wp_initialize_site() |
Runs the initialization routine for a given site. |
wp-includes/ms-site.php: wp_uninitialize_site() |
Runs the uninitialization routine for a given site. |
wp-includes/ms-site.php: wp_is_site_initialized() |
Checks whether a site is initialized. |
wp-includes/ms-site.php: wp_prepare_site_data() |
Prepares site data for insertion or update in the database. |
wp-signup.php: validate_user_signup() |
Validates the new user sign-up. |
wp-signup.php: signup_blog() |
Shows a form for a user or visitor to sign up for a new site. |
wp-signup.php: validate_blog_signup() |
Validates new site signup. |
wp-signup.php: signup_get_available_languages() |
Retrieves languages available during the site/user sign-up process. |
wp-signup.php: signup_another_blog() |
Shows a form for returning users to sign up for another site. |
wp-signup.php: validate_another_blog_signup() |
Validates a new site sign-up for an existing user. |
wp-signup.php: signup_user() |
Shows a form for a visitor to sign up for a new user account. |
wp-includes/author-template.php: get_the_author_posts_link() |
Retrieves an HTML link to the author page of the current post’s author. |
wp-includes/author-template.php: get_author_posts_url() |
Retrieves the URL to the author page for the user with the ID provided. |
wp-includes/author-template.php: wp_list_authors() |
Lists all the authors of the site, with several options available. |
wp-includes/author-template.php: is_multi_author() |
Determines whether this site has more than one author. |
wp-login.php: login_header() |
Output the login page header. |
wp-login.php: login_footer() |
Outputs the footer for the login page. |
wp-includes/author-template.php: get_the_author() |
Retrieves the author of the current post. |
wp-includes/author-template.php: get_the_modified_author() |
Retrieves the author who last edited the current post. |
wp-includes/author-template.php: get_the_author_meta() |
Retrieves the requested data of the author of the current post. |
wp-includes/author-template.php: the_author_meta() |
Outputs the field from the user’s DB object. Defaults to current post’s author. |
wp-includes/author-template.php: get_the_author_link() |
Retrieves either author’s link or author’s name. |
wp-includes/customize/class-wp-customize-nav-menu-setting.php: WP_Customize_Nav_Menu_Setting::sanitize() |
Sanitize an input. |
wp-includes/customize/class-wp-customize-custom-css-setting.php: WP_Customize_Custom_CSS_Setting::value() |
Fetch the value of the setting. Will return the previewed value when |
wp-includes/customize/class-wp-customize-nav-menu-item-setting.php: WP_Customize_Nav_Menu_Item_Setting::get_original_title() |
Get original title. |
wp-includes/customize/class-wp-customize-nav-menu-item-setting.php: WP_Customize_Nav_Menu_Item_Setting::value_as_wp_post_nav_menu_item() |
Get the value emulated into a WP_Post and set up as a nav_menu_item. |
wp-includes/customize/class-wp-customize-nav-menu-item-setting.php: WP_Customize_Nav_Menu_Item_Setting::sanitize() |
Sanitize an input. |
wp-includes/general-template.php: get_login_image_html() |
Return the HTML for the image on the login screen. This is either a link showing the ClassicPress logo (the default) or the site’s custom login image (if enabled). |
wp-includes/general-template.php: wp_generator() |
Displays the XHTML generator that is generated on the wp_head hook. |
wp-includes/general-template.php: the_generator() |
Displays the generator XML or Comment for RSS, ATOM, etc. |
wp-includes/general-template.php: get_the_generator() |
Creates the generator XML or Comment for RSS, ATOM, etc. |
wp-includes/general-template.php: get_search_query() |
Retrieves the contents of the search WordPress query variable. |
wp-includes/general-template.php: the_search_query() |
Displays the contents of the search query variable. |
wp-includes/general-template.php: get_language_attributes() |
Gets the language attributes for the ‘html’ tag. |
wp-includes/general-template.php: paginate_links() |
Retrieves paginated links for archive post pages. |
wp-includes/general-template.php: wp_admin_css_uri() |
Displays the URL of a WordPress admin CSS file. |
wp-includes/general-template.php: wp_admin_css() |
Enqueues or directly prints a stylesheet link to the specified CSS file. |
wp-includes/general-template.php: wp_site_icon() |
Displays site icon meta tags. |
wp-includes/general-template.php: wp_resource_hints() |
Prints resource hints to browsers for pre-fetching, pre-rendering and pre-connecting to web sites. |
wp-includes/general-template.php: user_can_richedit() |
Determines whether the user can access the visual editor. |
wp-includes/general-template.php: wp_default_editor() |
Finds out which editor should be displayed by default. |
wp-includes/general-template.php: get_the_modified_time() |
Retrieves the time at which the post was last modified. |
wp-includes/general-template.php: get_post_modified_time() |
Retrieves the time at which the post was last modified. |
wp-includes/general-template.php: the_weekday() |
Displays the weekday on which the post was written. |
wp-includes/general-template.php: the_weekday_date() |
Displays the weekday on which the post was written. |
wp-includes/general-template.php: feed_links() |
Displays the links to the general feeds. |
wp-includes/general-template.php: feed_links_extra() |
Displays the links to the extra feeds such as category feeds. |
wp-includes/general-template.php: the_date() |
Displays or retrieves the date the current post was written (once per date) |
wp-includes/general-template.php: get_the_date() |
Retrieves the date on which the post was written. |
wp-includes/general-template.php: the_modified_date() |
Displays the date on which the post was last modified. |
wp-includes/general-template.php: get_the_modified_date() |
Retrieves the date on which the post was last modified. |
wp-includes/general-template.php: the_time() |
Displays the time at which the post was written. |
wp-includes/general-template.php: get_the_time() |
Retrieves the time at which the post was written. |
wp-includes/general-template.php: get_post_time() |
Retrieves the time at which the post was written. |
wp-includes/general-template.php: the_modified_time() |
Displays the time at which the post was last modified. |
wp-includes/general-template.php: get_the_archive_title() |
Retrieves the archive title based on the queried object. |
wp-includes/general-template.php: get_the_archive_description() |
Retrieves the description for an author, post type, or term archive. |
wp-includes/general-template.php: get_the_post_type_description() |
Retrieves the description for a post type archive. |
wp-includes/general-template.php: get_archives_link() |
Retrieves archive link content based on predefined or custom code. |
wp-includes/general-template.php: wp_get_archives() |
Displays archive links based on type and format. |
wp-includes/general-template.php: get_calendar() |
Displays calendar with days that have posts as links. |
wp-includes/general-template.php: single_post_title() |
Displays or retrieves page title for post. |
wp-includes/general-template.php: post_type_archive_title() |
Displays or retrieves title for a post type archive. |
wp-includes/general-template.php: single_term_title() |
Displays or retrieves page title for taxonomy term archive. |
wp-includes/general-template.php: wp_title() |
Displays or retrieves page title for all areas of blog. |
wp-includes/general-template.php: wp_get_document_title() |
Returns document title for the current page. |
wp-includes/general-template.php: wp_lostpassword_url() |
Returns the URL that allows the user to reset the lost password. |
wp-includes/general-template.php: wp_register() |
Displays the Registration or Admin link. |
wp-includes/general-template.php: get_site_icon_url() |
Returns the Site Icon URL. |
wp-includes/general-template.php: get_custom_logo() |
Returns a custom logo, linked to home unless the theme supports removing the link on the home page. |
wp-includes/general-template.php: get_bloginfo() |
Retrieves information about the current site. |
wp-includes/general-template.php: get_search_form() |
Displays search form. |
wp-includes/general-template.php: wp_loginout() |
Displays the Log In/Out link. |
wp-includes/general-template.php: wp_logout_url() |
Retrieves the logout URL. |
wp-includes/general-template.php: wp_login_url() |
Retrieves the login URL. |
wp-includes/general-template.php: wp_registration_url() |
Returns the URL that allows the user to register on the site. |
wp-includes/general-template.php: wp_login_form() |
Provides a simple login form for use anywhere within WordPress. |
wp-includes/script-loader.php: print_admin_styles() |
Prints the styles queue in the HTML head on admin pages. |
wp-includes/script-loader.php: print_late_styles() |
Prints the styles that were queued too late for the HTML head. |
wp-includes/rest-api/class-wp-rest-response.php: WP_REST_Response::get_curies() |
Retrieves the CURIEs (compact URIs) used for relations. |
wp-includes/script-loader.php: classicpress_asset_version() |
Returns a cache buster string for an enqueued script or stylesheet. |
wp-includes/script-loader.php: wp_default_scripts() |
Register all ClassicPress scripts. |
wp-includes/script-loader.php: print_head_scripts() |
Prints the script queue in the HTML head on admin pages. |
wp-includes/script-loader.php: print_footer_scripts() |
Prints the scripts that were queued for the footer or too late for the HTML head. |
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::get_items() |
Retrieves a list of comment items. |
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::create_item_permissions_check() |
Checks if a given request has access to create a comment. |
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::create_item() |
Creates a comment. |
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::delete_item() |
Deletes a comment. |
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::prepare_item_for_response() |
Prepares a single comment output for response. |
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::prepare_item_for_database() |
Prepares a single comment to be inserted into the database. |
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::get_collection_params() |
Retrieves the query params for collections. |
wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php: WP_REST_Users_Controller::get_items() |
Retrieves all users. |
wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php: WP_REST_Users_Controller::prepare_item_for_response() |
Prepares a single user output for response. |
wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php: WP_REST_Users_Controller::prepare_item_for_database() |
Prepares a single user for creation or update. |
wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php: WP_REST_Users_Controller::check_username() |
Check a username for the REST API. |
wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php: WP_REST_Users_Controller::get_collection_params() |
Retrieves the query params for collections. |
wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php: WP_REST_Terms_Controller::get_items() |
Retrieves terms associated with a taxonomy. |
wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php: WP_REST_Terms_Controller::prepare_item_for_database() |
Prepares a single term for create or update. |
wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php: WP_REST_Terms_Controller::prepare_item_for_response() |
Prepares a single term output for response. |
wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php: WP_REST_Terms_Controller::get_collection_params() |
Retrieves the query params for collections. |
wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php: WP_REST_Settings_Controller::get_item() |
Retrieves the settings. |
wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php: WP_REST_Settings_Controller::update_item() |
Updates settings for the settings object. |
wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php: WP_REST_Taxonomies_Controller::prepare_item_for_response() |
Prepares a taxonomy object for serialization. |
wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php: WP_REST_Revisions_Controller::get_items() |
Gets a collection of revisions. |
wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php: WP_REST_Revisions_Controller::prepare_item_for_response() |
Prepares the revision for the REST response. |
wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php: WP_REST_Revisions_Controller::prepare_excerpt_response() |
Checks the post excerpt and prepare it for single post output. |
wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php: WP_REST_Post_Types_Controller::prepare_item_for_response() |
Prepares a post type object for serialization. |
wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php: WP_REST_Post_Statuses_Controller::prepare_item_for_response() |
Prepares a post status object for serialization. |
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::prepare_item_for_response() |
Prepares a single post output for response. |
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::get_item_schema() |
Retrieves the post’s schema, conforming to JSON Schema. |
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::get_collection_params() |
Retrieves the query params for the posts collection. |
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::get_items() |
Retrieves a collection of posts. |
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::delete_item() |
Deletes a single post. |
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::prepare_items_query() |
Determines the allowed query_vars for a get_items() response and prepares them for WP_Query. |
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::prepare_item_for_database() |
Prepares a single post for create or update. |
wp-includes/widgets/class-wp-widget-media-audio.php: WP_Widget_Media_Audio::enqueue_preview_scripts() |
Enqueue preview scripts. |
wp-includes/widgets/class-wp-widget-media-video.php: WP_Widget_Media_Video::enqueue_preview_scripts() |
Enqueue preview scripts. |
wp-includes/widgets/class-wp-widget-text.php: WP_Widget_Text::widget() |
Outputs the content for the current Text widget instance. |
wp-includes/widgets/class-wp-widget-text.php: WP_Widget_Text::form() |
Outputs the Text widget settings form. |
wp-includes/widgets/class-wp-widget-rss.php: WP_Widget_RSS::widget() |
Outputs the content for the current RSS widget instance. |
wp-includes/widgets/class-wp-widget-categories.php: WP_Widget_Categories::widget() |
Outputs the content for the current Categories widget instance. |
wp-includes/widgets/class-wp-widget-calendar.php: WP_Widget_Calendar::widget() |
Outputs the content for the current Calendar widget instance. |
wp-includes/widgets/class-wp-widget-recent-comments.php: WP_Widget_Recent_Comments::recent_comments_style() |
Outputs the default styles for the Recent Comments widget. |
wp-includes/widgets/class-wp-widget-recent-comments.php: WP_Widget_Recent_Comments::widget() |
Outputs the content for the current Recent Comments widget instance. |
wp-includes/widgets/class-wp-widget-pages.php: WP_Widget_Pages::widget() |
Outputs the content for the current Pages widget instance. |
wp-includes/widgets/class-wp-widget-links.php: WP_Widget_Links::widget() |
Outputs the content for the current Links widget instance. |
wp-includes/widgets/class-wp-widget-search.php: WP_Widget_Search::widget() |
Outputs the content for the current Search widget instance. |
wp-includes/widgets/class-wp-widget-custom-html.php: WP_Widget_Custom_HTML::widget() |
Outputs the content for the current Custom HTML widget instance. |
wp-includes/widgets/class-wp-widget-recent-posts.php: WP_Widget_Recent_Posts::widget() |
Outputs the content for the current Recent Posts widget instance. |
wp-includes/widgets/class-wp-nav-menu-widget.php: WP_Nav_Menu_Widget::widget() |
Outputs the content for the current Navigation Menu widget instance. |
wp-includes/widgets/class-wp-widget-media-gallery.php: WP_Widget_Media_Gallery::get_instance_schema() |
Get schema for properties of a widget instance (item). |
wp-includes/widgets/class-wp-widget-meta.php: WP_Widget_Meta::widget() |
Outputs the content for the current Meta widget instance. |
wp-includes/widgets/class-wp-widget-archives.php: WP_Widget_Archives::widget() |
Outputs the content for the current Archives widget instance. |
wp-includes/widgets/class-wp-widget-media.php: WP_Widget_Media::get_instance_schema() |
Get schema for properties of a widget instance (item). |
wp-includes/widgets/class-wp-widget-media.php: WP_Widget_Media::widget() |
Displays the widget on the front-end. |
wp-includes/widgets/class-wp-widget-tag-cloud.php: WP_Widget_Tag_Cloud::widget() |
Outputs the content for the current Tag Cloud widget instance. |
wp-includes/template.php: get_query_template() |
Retrieves path to a template. |
wp-includes/query.php: wp_old_slug_redirect() |
Redirect old slugs to the correct permalink. |
wp-includes/bookmark-template.php: wp_list_bookmarks() |
Retrieves or echoes all of the bookmarks. |
wp-includes/media-template.php: wp_print_media_templates() |
Prints the templates used in the media manager. |
wp-includes/nav-menu.php: wp_get_nav_menus() |
Returns all navigation menu objects. |
wp-includes/nav-menu.php: wp_get_nav_menu_items() |
Retrieves all menu items of a navigation menu. |
wp-includes/nav-menu.php: wp_setup_nav_menu_item() |
Decorates a menu item object with the shared navigation menu item properties. |
wp-includes/nav-menu.php: has_nav_menu() |
Determines whether a registered nav menu location has a menu assigned to it. |
wp-includes/nav-menu.php: wp_get_nav_menu_name() |
Returns the name of a navigation menu. |
wp-includes/nav-menu.php: wp_get_nav_menu_object() |
Returns a navigation menu object. |
wp-includes/cron.php: wp_get_schedule() |
Retrieves the name of the recurrence schedule for an event. |
wp-includes/cron.php: wp_schedule_single_event() |
Schedules an event to run only once. |
wp-includes/cron.php: wp_schedule_event() |
Schedules a recurring event. |
wp-includes/cron.php: wp_reschedule_event() |
Reschedules a recurring event. |
wp-includes/cron.php: wp_unschedule_event() |
Unschedules a previously scheduled event. |
wp-includes/cron.php: wp_clear_scheduled_hook() |
Unschedules all events attached to the hook with the specified arguments. |
wp-includes/cron.php: wp_unschedule_hook() |
Unschedules all events attached to the hook. |
wp-includes/cron.php: spawn_cron() |
Sends a request to run cron through HTTP request that doesn’t halt page loading. |
wp-includes/cron.php: wp_get_schedules() |
Retrieves supported event recurrence schedules. |
wp-includes/embed.php: the_embed_site_title() |
Prints the necessary markup for the site title in an embed template. |
wp-includes/embed.php: the_excerpt_embed() |
Displays the post excerpt for the embed template. |
wp-includes/embed.php: get_post_embed_html() |
Retrieves the embed code for a specific post. |
wp-includes/embed.php: get_oembed_response_data() |
Retrieves the oEmbed response data for a given post. |
wp-includes/embed.php: wp_embed_handler_video() |
Video embed handler callback. |
wp-includes/embed.php: wp_oembed_add_discovery_links() |
Adds oEmbed discovery links in the head element of the website. |
wp-includes/embed.php: get_post_embed_url() |
Retrieves the URL to embed a specific post in an iframe. |
wp-includes/embed.php: get_oembed_endpoint_url() |
Retrieves the oEmbed endpoint URL for a given permalink. |
wp-includes/vars.php: wp_is_mobile() |
Test if the current browser runs on a mobile device (smart phone, tablet, etc.) |
wp-includes/embed.php: wp_embed_defaults() |
Creates default array of embed parameters. |
wp-includes/embed.php: wp_maybe_load_embeds() |
Determines if default embed handlers should be loaded. |
wp-includes/embed.php: wp_embed_handler_youtube() |
YouTube iframe embed handler callback. |
wp-includes/embed.php: wp_embed_handler_audio() |
Audio embed handler callback. |
wp-includes/ms-load.php: ms_site_check() |
Checks status of current blog. |
wp-includes/ms-load.php: get_site_by_path() |
Retrieves the closest matching site object by its domain and path. |
wp-includes/link-template.php: get_privacy_policy_url() |
Retrieves the URL to the privacy policy page. |
wp-includes/link-template.php: get_the_privacy_policy_link() |
Returns the privacy policy link with formatting, when applicable. |
wp-includes/link-template.php: wp_get_shortlink() |
Returns a shortlink for a post, page, attachment, or site. |
wp-includes/link-template.php: the_shortlink() |
Displays the shortlink for a post. |
wp-includes/link-template.php: get_avatar_data() |
Retrieves default data about the avatar. |
wp-includes/link-template.php: get_theme_file_uri() |
Retrieves the URL of a file in the theme. |
wp-includes/link-template.php: get_parent_theme_file_uri() |
Retrieves the URL of a file in the parent theme. |
wp-includes/link-template.php: get_theme_file_path() |
Retrieves the path of a file in the theme. |
wp-includes/link-template.php: get_parent_theme_file_path() |
Retrieves the path of a file in the parent theme. |
wp-includes/link-template.php: network_site_url() |
Retrieves the site URL for the current network. |
wp-includes/link-template.php: network_home_url() |
Retrieves the home URL for the current network. |
wp-includes/link-template.php: network_admin_url() |
Retrieves the URL to the admin area for the network. |
wp-includes/link-template.php: user_admin_url() |
Retrieves the URL to the admin area for the current user. |
wp-includes/link-template.php: self_admin_url() |
Retrieves the URL to the admin area for either the current site or the network depending on context. |
wp-includes/link-template.php: set_url_scheme() |
Sets the scheme for a URL. |
wp-includes/link-template.php: get_dashboard_url() |
Retrieves the URL to the user’s dashboard. |
wp-includes/link-template.php: get_edit_profile_url() |
Retrieves the URL to the user’s profile editor. |
wp-includes/link-template.php: wp_get_canonical_url() |
Returns the canonical URL for a post. |
wp-includes/link-template.php: get_home_url() |
Retrieves the URL for a given site where the front end is accessible. |
wp-includes/link-template.php: get_site_url() |
Retrieves the URL for a given site where WordPress application files (e.g. wp-blog-header.php or the wp-admin/ folder) are accessible. |
wp-includes/link-template.php: get_admin_url() |
Retrieves the URL to the admin area for a given site. |
wp-includes/link-template.php: includes_url() |
Retrieves the URL to the includes directory. |
wp-includes/link-template.php: content_url() |
Retrieves the URL to the content directory. |
wp-includes/link-template.php: plugins_url() |
Retrieves a URL within the plugins or mu-plugins directory. |
wp-includes/link-template.php: get_comments_pagenum_link() |
Retrieves the comments page number link. |
wp-includes/link-template.php: get_next_comments_link() |
Retrieves the link to the next comments page. |
wp-includes/link-template.php: get_previous_comments_link() |
Retrieves the link to the previous comments page. |
wp-includes/link-template.php: _navigation_markup() |
Wraps passed links in navigational markup. |
wp-includes/link-template.php: get_previous_posts_link() |
Retrieves the previous posts page link. |
wp-includes/link-template.php: get_the_posts_pagination() |
Retrieves a paginated navigation to next/previous set of posts, when applicable. |
wp-includes/link-template.php: get_adjacent_post_link() |
Retrieves the adjacent post link. |
wp-includes/link-template.php: get_pagenum_link() |
Retrieves the link for a page number. |
wp-includes/link-template.php: get_next_posts_link() |
Retrieves the next posts page link. |
wp-includes/link-template.php: get_adjacent_post() |
Retrieves the adjacent post. |
wp-includes/link-template.php: get_adjacent_post_rel_link() |
Retrieves the adjacent post relational link. |
wp-includes/link-template.php: get_edit_post_link() |
Retrieves the edit post link for post. |
wp-includes/link-template.php: edit_post_link() |
Displays the edit post link for post. |
wp-includes/link-template.php: get_delete_post_link() |
Retrieves the delete posts link for post. |
wp-includes/link-template.php: get_edit_comment_link() |
Retrieves the edit comment link. |
wp-includes/link-template.php: edit_comment_link() |
Displays the edit comment link with formatting. |
wp-includes/link-template.php: get_edit_bookmark_link() |
Displays the edit bookmark link. |
wp-includes/link-template.php: edit_bookmark_link() |
Displays the edit bookmark link anchor content. |
wp-includes/link-template.php: get_edit_user_link() |
Retrieves the edit user link. |
wp-includes/link-template.php: edit_tag_link() |
Displays or retrieves the edit link for a tag with formatting. |
wp-includes/link-template.php: get_edit_term_link() |
Retrieves the URL for editing a given term. |
wp-includes/link-template.php: edit_term_link() |
Displays or retrieves the edit term link with formatting. |
wp-includes/link-template.php: get_search_link() |
Retrieves the permalink for a search. |
wp-includes/link-template.php: get_search_feed_link() |
Retrieves the permalink for the search results feed. |
wp-includes/link-template.php: get_search_comments_feed_link() |
Retrieves the permalink for the search results comments feed. |
wp-includes/link-template.php: get_post_type_archive_link() |
Retrieves the permalink for a post type archive. |
wp-includes/link-template.php: get_post_type_archive_feed_link() |
Retrieves the permalink for a post type archive feed. |
wp-includes/link-template.php: get_preview_post_link() |
Retrieves the URL used for the post preview. |
wp-includes/link-template.php: get_edit_tag_link() |
Retrieves the edit link for a tag. |
wp-includes/link-template.php: get_month_link() |
Retrieves the permalink for the month archives with year. |
wp-includes/link-template.php: get_day_link() |
Retrieves the permalink for the day archives with year and month. |
wp-includes/link-template.php: the_feed_link() |
Displays the permalink for the feed type. |
wp-includes/link-template.php: get_feed_link() |
Retrieves the permalink for the feed type. |
wp-includes/link-template.php: get_post_comments_feed_link() |
Retrieves the permalink for the post comments feed. |
wp-includes/link-template.php: post_comments_feed_link() |
Displays the comment feed link for a post. |
wp-includes/link-template.php: get_author_feed_link() |
Retrieves the feed link for a given author. |
wp-includes/link-template.php: get_term_feed_link() |
Retrieves the feed link for a term. |
wp-includes/link-template.php: the_permalink() |
Displays the permalink for the current post. |
wp-includes/link-template.php: user_trailingslashit() |
Retrieves a trailing-slashed string if the site is set for adding trailing slashes. |
wp-includes/link-template.php: get_permalink() |
Retrieves the full permalink for the current post or post ID. |
wp-includes/link-template.php: get_post_permalink() |
Retrieves the permalink for a post of a custom post type. |
wp-includes/link-template.php: get_page_link() |
Retrieves the permalink for the current page or page ID. |
wp-includes/link-template.php: _get_page_link() |
Retrieves the page permalink. |
wp-includes/link-template.php: get_attachment_link() |
Retrieves the permalink for an attachment. |
wp-includes/link-template.php: get_year_link() |
Retrieves the permalink for the year archives. |
wp-includes/capabilities.php: map_meta_cap() |
Maps a capability to the primitive capabilities required of the given user to satisfy the capability being checked. |
wp-includes/ms-deprecated.php: graceful_fail() |
Deprecated functionality to gracefully fail. |
wp-includes/ms-network.php: get_network() |
Retrieves network data given a network ID or network object. |
wp-includes/ms-blogs.php: get_blog_option() |
Retrieves option value for a given blog id based on name of option. |
wp-includes/ms-site.php: get_site() |
Retrieves site data given a site ID or site object. |
wp-includes/meta.php: get_object_subtype() |
Returns the object subtype for a given object ID of a specific type. |
wp-includes/meta.php: is_protected_meta() |
Determines whether a meta key is considered protected. |
wp-includes/meta.php: sanitize_meta() |
Sanitizes meta value. |
wp-includes/meta.php: register_meta() |
Registers a meta key. |
wp-includes/meta.php: metadata_exists() |
Determines if a meta field with the given key exists for the given object ID. |
wp-includes/meta.php: get_metadata_by_mid() |
Retrieves metadata by meta ID. |
wp-includes/meta.php: update_metadata_by_mid() |
Updates metadata by meta ID. |
wp-includes/meta.php: delete_metadata_by_mid() |
Deletes metadata by meta ID. |
wp-includes/meta.php: update_meta_cache() |
Updates the metadata cache for the specified objects. |
wp-includes/meta.php: add_metadata() |
Adds metadata for the specified object. |
wp-includes/meta.php: update_metadata() |
Updates metadata for the specified object. If no value already exists for the specified object ID and metadata key, the metadata will be added. |
wp-includes/meta.php: delete_metadata() |
Deletes metadata for the specified object. |
wp-includes/http.php: is_allowed_http_origin() |
Determines if the HTTP origin is an authorized one. |
wp-includes/http.php: wp_http_validate_url() |
Validate a URL for safe use in the HTTP API. |
wp-includes/http.php: classicpress_user_agent() |
Returns the ClassicPress User-Agent header for outgoing requests. |
wp-includes/http.php: get_http_origin() |
Get the HTTP Origin of the current request. |
wp-includes/http.php: get_allowed_http_origins() |
Retrieve list of allowed HTTP origins. |
wp-includes/theme.php: current_theme_supports() |
Checks a theme’s support for a given feature. |
wp-includes/theme.php: get_editor_stylesheets() |
Retrieves any registered editor stylesheet URLs. |
wp-includes/theme.php: get_theme_starter_content() |
Expands a theme’s starter content configuration using core-provided data. |
wp-includes/theme.php: wp_get_custom_css() |
Fetches the saved Custom CSS content for rendering. |
wp-includes/theme.php: wp_update_custom_css_post() |
Updates the |
wp-includes/theme.php: get_header_video_url() |
Retrieves header video URL for custom header. |
wp-includes/theme.php: get_header_video_settings() |
Retrieves header video settings. |
wp-includes/theme.php: is_header_video_active() |
Checks whether the custom header video is eligible to show on the current page. |
wp-includes/theme.php: get_header_image() |
Retrieves header image for custom header. |
wp-includes/theme.php: get_header_image_tag() |
Creates image tag markup for a custom header image. |
wp-includes/theme.php: validate_current_theme() |
Checks that the active theme has the required files. |
wp-includes/theme.php: get_theme_mod() |
Retrieves theme modification value for the active theme. |
wp-includes/theme.php: set_theme_mod() |
Updates theme modification value for the active theme. |
wp-includes/theme.php: get_template_directory() |
Retrieves template directory path for the active theme. |
wp-includes/theme.php: get_template_directory_uri() |
Retrieves template directory URI for the active theme. |
wp-includes/theme.php: search_theme_directories() |
Searches all registered theme directories for complete and valid themes. |
wp-includes/theme.php: get_theme_root() |
Retrieves path to themes directory. |
wp-includes/theme.php: get_theme_root_uri() |
Retrieves URI for themes directory. |
wp-includes/theme.php: get_stylesheet_directory() |
Retrieves stylesheet directory path for the active theme. |
wp-includes/theme.php: get_stylesheet_directory_uri() |
Retrieves stylesheet directory URI for the active theme. |
wp-includes/theme.php: get_stylesheet_uri() |
Retrieves stylesheet URI for the active theme. |
wp-includes/theme.php: get_locale_stylesheet_uri() |
Retrieves the localized stylesheet URI. |
wp-includes/theme.php: get_template() |
Retrieves name of the active theme. |
wp-includes/theme.php: get_stylesheet() |
Retrieves name of the current stylesheet. |
wp-includes/post-thumbnail-template.php: has_post_thumbnail() |
Determines whether a post has an image attached. |
wp-includes/post-thumbnail-template.php: get_post_thumbnail_id() |
Retrieves the post thumbnail ID. |
wp-includes/post-thumbnail-template.php: get_the_post_thumbnail() |
Retrieves the post thumbnail. |
wp-includes/post-thumbnail-template.php: get_the_post_thumbnail_url() |
Returns the post thumbnail URL. |
wp-includes/post-thumbnail-template.php: the_post_thumbnail_caption() |
Displays the post thumbnail caption. |
wp-includes/rewrite.php: url_to_postid() |
Examines a URL and try to determine the post ID it represents. |
wp-includes/post-template.php: wp_post_revision_title_expanded() |
Retrieves formatted date timestamp of a revision (linked to that revisions’s page). |
wp-includes/post-template.php: the_meta() |
Displays a list of post custom fields. |
wp-includes/post-template.php: wp_dropdown_pages() |
Retrieves or displays a list of pages as a dropdown (select list). |
wp-includes/post-template.php: wp_list_pages() |
Retrieves or displays a list of pages (or hierarchical post type items) in list (li) format. |
wp-includes/post-template.php: wp_page_menu() |
Displays or retrieves a list of pages with an optional home link. |
wp-includes/post-template.php: wp_get_attachment_link() |
Retrieves an attachment page link using an image or icon, if possible. |
wp-includes/post-template.php: prepend_attachment() |
Wraps attachment in paragraph tag before content. |
wp-includes/post-template.php: get_the_password_form() |
Retrieves protected post password form content. |
wp-includes/post-template.php: get_the_excerpt() |
Retrieves the post excerpt. |
wp-includes/post-template.php: get_post_class() |
Retrieves an array of the class names for the post container element. |
wp-includes/post-template.php: get_body_class() |
Retrieves an array of the class names for the body element. |
wp-includes/post-template.php: post_password_required() |
Determines whether the post requires password and whether a correct password has been provided. |
wp-includes/post-template.php: wp_link_pages() |
The formatted output of a list of pages. |
wp-includes/post-template.php: get_the_title() |
Retrieves the post title. |
wp-includes/post-template.php: the_guid() |
Displays the Post Global Unique Identifier (guid). |
wp-includes/post-template.php: get_the_guid() |
Retrieves the Post Global Unique Identifier (guid). |
wp-includes/post-template.php: the_content() |
Displays the post content. |
wp-includes/post-template.php: get_the_content() |
Retrieves the post content. |
wp-includes/post-template.php: the_excerpt() |
Displays the post excerpt. |
wp-includes/canonical.php: redirect_guess_404_permalink() |
Attempts to guess the correct URL for a 404 request based on query vars. |
wp-includes/canonical.php: redirect_canonical() |
Redirects incoming links to the proper URL based on the site url. |
wp-includes/ms-functions.php: wp_is_large_network() |
Determines whether or not we have a large network. |
wp-includes/ms-functions.php: get_subdirectory_reserved_names() |
Retrieves a list of reserved site on a sub-directory Multisite installation. |
wp-includes/ms-functions.php: update_network_option_new_admin_email() |
Sends a confirmation request email when a change of network admin email address is attempted. |
wp-includes/ms-functions.php: wp_network_admin_email_change_notification() |
Sends an email to the old network admin email address when the network admin email address changes. |
wp-includes/ms-functions.php: wp_maybe_update_network_site_counts() |
Updates the count of sites for the current network. |
wp-includes/ms-functions.php: wp_maybe_update_network_user_counts() |
Updates the network-wide users count. |
wp-includes/ms-functions.php: get_space_used() |
Returns the space used by the current site. |
wp-includes/ms-functions.php: get_space_allowed() |
Returns the upload quota for the current blog. |
wp-includes/ms-functions.php: maybe_redirect_404() |
Corrects 404 redirects when NOBLOGREDIRECT is defined. |
wp-includes/ms-functions.php: wpmu_welcome_notification() |
Notifies the site administrator that their site activation was successful. |
wp-includes/ms-functions.php: wpmu_welcome_user_notification() |
Notifies a user that their account activation has been successful. |
wp-includes/ms-functions.php: newuser_notify_siteadmin() |
Notifies the network admin that a new user has been activated. |
wp-includes/ms-functions.php: domain_exists() |
Checks whether a site name is already taken. |
wp-includes/ms-functions.php: wpmu_validate_user_signup() |
Sanitizes and validates data required for a user sign-up. |
wp-includes/ms-functions.php: wpmu_validate_blog_signup() |
Processes new site registrations. |
wp-includes/ms-functions.php: wpmu_signup_blog() |
Records site signup information for future activation. |
wp-includes/ms-functions.php: wpmu_signup_user() |
Records user signup information for future activation. |
wp-includes/ms-functions.php: newblog_notify_siteadmin() |
Notifies the network admin that a new site has been activated. |
wp-includes/ms-functions.php: wpmu_signup_blog_notification() |
Sends a confirmation request email to a user when they sign up for a new site. The new site will not become active until the confirmation link is clicked. |
wp-includes/ms-functions.php: wpmu_signup_user_notification() |
Sends a confirmation request email to a user when they sign up for a new user account (without signing up for a site at the same time). The user account will not become active until the confirmation link is clicked. |
wp-includes/ms-functions.php: add_user_to_blog() |
Adds a user to a blog, along with specifying the user’s role. |
wp-includes/ms-functions.php: is_email_address_unsafe() |
Checks an email address against a list of banned domains. |
wp-admin/update-core.php: core_upgrade_preamble() |
Display upgrade ClassicPress for downloading latest or upgrading automatically form. |
wp-admin/includes/class-theme-upgrader-skin.php: Theme_Upgrader_Skin::after() |
Action to perform following a single theme update. |
wp-admin/includes/class-wp-media-list-table.php: WP_Media_List_Table::_get_row_actions() | |
wp-admin/includes/image.php: wp_generate_attachment_metadata() |
Generates attachment meta data and create image sub-sizes for images. |
wp-admin/includes/image.php: wp_read_image_metadata() |
Gets extended image metadata, exif or iptc as available. |
wp-admin/includes/image.php: file_is_displayable_image() |
Validates that file is suitable for displaying within a web page. |
wp-admin/includes/image.php: load_image_to_edit() |
Loads an image resource for editing. |
wp-admin/includes/image.php: _load_image_to_edit_path() |
Retrieves the path or URL of an attachment’s attached file. |
wp-admin/includes/class-wp-media-list-table.php: WP_Media_List_Table::views() |
Override parent views so we can use the filter bar display. |
wp-admin/includes/class-wp-media-list-table.php: WP_Media_List_Table::get_columns() | |
wp-admin/includes/class-wp-media-list-table.php: WP_Media_List_Table::column_date() |
Handles the date column output. |
wp-admin/includes/class-wp-plugins-list-table.php: WP_Plugins_List_Table::prepare_items() | |
wp-admin/includes/class-wp-plugins-list-table.php: WP_Plugins_List_Table::single_row() | |
wp-admin/includes/class-wp-ms-themes-list-table.php: WP_MS_Themes_List_Table::column_name() |
Handles the name column output. |
wp-admin/includes/class-wp-ms-themes-list-table.php: WP_MS_Themes_List_Table::column_description() |
Handles the description column output. |
wp-admin/includes/class-wp-ms-themes-list-table.php: WP_MS_Themes_List_Table::prepare_items() | |
wp-admin/includes/class-wp-comments-list-table.php: WP_Comments_List_Table::prepare_items() | |
wp-admin/includes/class-wp-comments-list-table.php: WP_Comments_List_Table::get_per_page() | |
wp-admin/includes/class-wp-comments-list-table.php: WP_Comments_List_Table::get_views() | |
wp-admin/includes/class-wp-comments-list-table.php: WP_Comments_List_Table::handle_row_actions() |
Generates and displays row actions links. |
wp-admin/includes/class-wp-comments-list-table.php: WP_Comments_List_Table::column_comment() | |
wp-admin/includes/class-wp-comments-list-table.php: WP_Comments_List_Table::column_author() | |
wp-admin/includes/network.php: allow_subdirectory_install() |
Allow subdirectory installation. |
wp-admin/includes/translation-install.php: translations_api() |
Retrieve translations from WordPress Translation API. |
wp-admin/includes/nav-menu.php: wp_get_nav_menu_to_edit() |
Returns the menu formatted to edit. |
wp-admin/includes/class-wp-ms-users-list-table.php: WP_MS_Users_List_Table::prepare_items() | |
wp-admin/includes/class-wp-ms-users-list-table.php: WP_MS_Users_List_Table::get_columns() | |
wp-admin/includes/class-wp-ms-users-list-table.php: WP_MS_Users_List_Table::column_blogs() |
Handles the sites column output. |
wp-admin/includes/class-wp-ms-users-list-table.php: WP_MS_Users_List_Table::column_default() |
Handles the default column output. |
wp-admin/includes/class-wp-ms-users-list-table.php: WP_MS_Users_List_Table::handle_row_actions() |
Generates and displays row action links. |
wp-admin/includes/comment.php: get_comment_to_edit() |
Returns a WP_Comment object based on comment ID. |
wp-admin/includes/nav-menu.php: wp_nav_menu_post_type_meta_boxes() |
Creates meta boxes for any post type menu item. |
wp-admin/includes/nav-menu.php: wp_nav_menu_taxonomy_meta_boxes() |
Creates meta boxes for any taxonomy menu item. |
wp-admin/includes/nav-menu.php: wp_nav_menu_item_post_type_meta_box() |
Displays a meta box for a post type menu item. |
wp-admin/includes/plugin-install.php: plugins_api() |
Retrieves plugin installer pages from the ClassicPress.net Plugins API. |
wp-admin/includes/class-core-upgrader.php: Core_Upgrader::upgrade() |
Upgrade ClassicPress core. |
wp-admin/includes/class-core-upgrader.php: Core_Upgrader::_auto_update_enabled_for_versions() |
Determines if an automatic update should be applied for a given set of versions and auto-update constants. |
wp-admin/includes/class-wp-plugin-install-list-table.php: WP_Plugin_Install_List_Table::prepare_items() | |
wp-admin/includes/class-wp-plugin-install-list-table.php: WP_Plugin_Install_List_Table::views() |
Overrides parent views so we can use the filter bar display. |
wp-admin/includes/class-wp-plugin-install-list-table.php: WP_Plugin_Install_List_Table::display_rows() | |
wp-admin/includes/menu.php: add_menu_classes() |
Adds CSS classes for top-level administration menu items. |
wp-admin/includes/screen.php: get_column_headers() |
Get the column headers for a screen |
wp-admin/includes/screen.php: get_hidden_columns() |
Get a list of hidden columns. |
wp-admin/includes/screen.php: get_hidden_meta_boxes() |
Gets an array of IDs of hidden meta boxes. |
wp-admin/includes/meta-boxes.php: post_slug_meta_box() |
Displays slug form fields. |
wp-admin/includes/meta-boxes.php: page_attributes_meta_box() |
Displays page attributes form fields. |
wp-admin/includes/meta-boxes.php: post_categories_meta_box() |
Displays post categories form fields. |
wp-admin/includes/class-theme-installer-skin.php: Theme_Installer_Skin::after() |
Action to perform following a single theme install. |
wp-admin/includes/class-plugin-upgrader-skin.php: Plugin_Upgrader_Skin::after() |
Action to perform following a single plugin update. |
wp-admin/includes/class-bulk-theme-upgrader-skin.php: Bulk_Theme_Upgrader_Skin::bulk_footer() | |
wp-admin/includes/list-table.php: _get_list_table() |
Fetches an instance of a WP_List_Table class. |
wp-admin/includes/update-core.php: update_core() |
Upgrades the core of ClassicPress. |
wp-admin/includes/privacy-tools.php: _wp_personal_data_cleanup_requests() |
Cleans up failed and expired requests before displaying the list table. |
wp-admin/includes/privacy-tools.php: wp_privacy_process_personal_data_erasure_page() |
Mark erasure requests as completed after processing is finished. |
wp-admin/includes/theme.php: themes_api() |
Retrieves theme installer pages from the WordPress.org Themes API. |
wp-admin/includes/theme.php: wp_prepare_themes_for_js() |
Prepares themes for JavaScript. |
wp-admin/includes/plugin.php: get_plugin_files() |
Gets a list of a plugin’s files. |
wp-admin/includes/class-wp-ms-sites-list-table.php: WP_MS_Sites_List_Table::prepare_items() |
Prepares the list of sites for display. |
wp-admin/includes/class-wp-ms-sites-list-table.php: WP_MS_Sites_List_Table::get_columns() | |
wp-admin/includes/class-wp-ms-sites-list-table.php: WP_MS_Sites_List_Table::handle_row_actions() |
Generates and displays row action links. |
wp-admin/includes/class-wp-themes-list-table.php: WP_Themes_List_Table::display_rows() | |
wp-admin/includes/privacy-tools.php: wp_privacy_send_personal_data_export_email() |
Send an email to the user with a link to the personal data export file |
wp-admin/includes/privacy-tools.php: wp_privacy_process_personal_data_export_page() |
Intercept personal data exporter page Ajax responses in order to assemble the personal data export file. |
wp-admin/includes/class-language-pack-upgrader.php: Language_Pack_Upgrader::async_upgrade() |
Asynchronously upgrades language packs after other upgrades have been made. |
wp-admin/includes/class-plugin-installer-skin.php: Plugin_Installer_Skin::after() |
Action to perform following a plugin install. |
wp-admin/includes/class-language-pack-upgrader-skin.php: Language_Pack_Upgrader_Skin::bulk_footer() | |
wp-admin/includes/class-wp-theme-install-list-table.php: WP_Theme_Install_List_Table::prepare_items() | |
wp-admin/includes/class-wp-theme-install-list-table.php: WP_Theme_Install_List_Table::single_row() |
Prints a theme from the WordPress.org API. |
wp-admin/includes/class-bulk-plugin-upgrader-skin.php: Bulk_Plugin_Upgrader_Skin::bulk_footer() | |
wp-admin/includes/update.php: update_right_now_message() |
Displays WordPress version and active theme in the ‘At a Glance’ dashboard widget. |
wp-admin/includes/revision.php: wp_get_revision_ui_diff() |
Get the revision UI diff. |
wp-admin/includes/revision.php: wp_prepare_revisions_for_js() |
Prepare revisions for JavaScript. |
wp-admin/includes/taxonomy.php: get_terms_to_edit() |
Gets comma-separated list of terms available to edit for the given post ID. |
wp-admin/includes/ms.php: network_edit_site_nav() |
Outputs the HTML for a network’s “Edit Site” tabular interface. |
wp-admin/includes/ms.php: mu_dropdown_languages() |
Generates and displays a drop-down of available languages. |
wp-admin/includes/ms.php: can_edit_network() |
Determines whether or not this network from this page can be edited. |
wp-admin/includes/ms.php: format_code_lang() |
Returns the language for a language code. |
Changelog
Version | Description |
---|---|
6.0.0 | Formalized the existing and already documented ...$args parameter by adding it to the function signature. |
0.71 | Introduced. |