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
stringrequired- The name of the filter hook.
$value
mixedrequired- The value to filter.
$args
mixedoptional- Additional parameters to pass to the callback functions.
Return
mixed The filtered value after all hooked functions are applied to it.Source
function apply_filters( $hook_name, $value, ...$args ) {
global $wp_filter, $wp_filters, $wp_current_filter;
if ( ! isset( $wp_filters[ $hook_name ] ) ) {
$wp_filters[ $hook_name ] = 1;
} else {
++$wp_filters[ $hook_name ];
}
// Do 'all' actions first.
if ( isset( $wp_filter['all'] ) ) {
$wp_current_filter[] = $hook_name;
$all_args = func_get_args(); // phpcs:ignore PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.NeedsInspection
_wp_call_all_hook( $all_args );
}
if ( ! isset( $wp_filter[ $hook_name ] ) ) {
if ( isset( $wp_filter['all'] ) ) {
array_pop( $wp_current_filter );
}
return $value;
}
if ( ! isset( $wp_filter['all'] ) ) {
$wp_current_filter[] = $hook_name;
}
// Pass the value to WP_Hook.
array_unshift( $args, $value );
$filtered = $wp_filter[ $hook_name ]->apply_filters( $value, $args );
array_pop( $wp_current_filter );
return $filtered;
}
Related
Uses | Description |
---|---|
_wp_call_all_hook()wp-includes/plugin.php | Calls the ‘all’ hook, which will process the functions hooked into it. |
Used by | Description |
---|---|
wp_get_admin_notice()wp-includes/functions.php | Creates and returns the markup for an admin notice. |
_deprecated_class()wp-includes/functions.php | Marks a class as deprecated and informs when it has been used. |
wp_get_https_detection_errors()wp-includes/https-detection.php | Runs a remote HTTPS request to detect whether HTTPS supported, and stores potential errors. |
make_after_block_visitor()wp-includes/blocks.php | Returns a function that injects the hooked blocks after a given block. |
make_before_block_visitor()wp-includes/blocks.php | Returns a function that injects the theme attribute into, and hooked blocks before, a given block. |
wp_post_revision_meta_keys()wp-includes/revision.php | Determine which post meta fields should be revisioned. |
wp_is_authorize_application_redirect_url_valid()wp-admin/includes/user.php | Validates the redirect URL protocol scheme. The protocol can be anything except http and javascript. |
wp_is_password_reset_allowed_for_user()wp-includes/user.php | Checks if password reset is allowed for a specific user. |
wp_get_loading_optimization_attributes()wp-includes/media.php | Gets loading optimization attributes. |
wp_maybe_add_fetchpriority_high_attr()wp-includes/media.php | Determines whether to add |
wp_img_tag_add_loading_optimization_attrs()wp-includes/media.php | Adds optimization attributes to an |
WP_Navigation_Fallback::get_fallback()wp-includes/class-wp-navigation-fallback.php | Gets (and/or creates) an appropriate fallback Navigation Menu. |
sanitize_locale_name()wp-includes/formatting.php | Strips out all characters not allowed in a locale name. |
_make_clickable_rel_attr()wp-includes/formatting.php | Helper function used to build the “rel” attribute for a URL when creating an anchor using make_clickable() . |
wp_internal_hosts()wp-includes/link-template.php | Returns an array of URL hosts which are considered to be internal hosts. |
wp_theme_has_theme_json()wp-includes/global-styles-and-settings.php | Checks whether a theme or its parent has a theme.json file. |
wp_img_tag_add_decoding_attr()wp-includes/deprecated.php | Adds |
wp_required_field_message()wp-includes/general-template.php | Creates a message to explain required form fields. |
wp_required_field_indicator()wp-includes/general-template.php | Assigns a visual indicator for required form fields. |
wp_preload_resources()wp-includes/general-template.php | Prints resource preloads directives to browsers. |
WP_REST_Server::get_json_encode_options()wp-includes/rest-api/class-wp-rest-server.php | Gets the encoding options passed to wp_json_encode. |
WP_Theme_JSON_Resolver::get_block_data()wp-includes/class-wp-theme-json-resolver.php | Gets the styles for blocks from the block.json file. |
WP_Site_Health::available_object_cache_services()wp-admin/includes/class-wp-site-health.php | Returns a list of available persistent object cache services. |
WP_Site_Health::get_page_cache_headers()wp-admin/includes/class-wp-site-health.php | Returns a list of headers and its verification callback to verify if page cache is enabled or not. |
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_Site_Health::get_good_response_time_threshold()wp-admin/includes/class-wp-site-health.php | Gets the threshold below which a response time is considered good. |
WP_Site_Health::should_suggest_persistent_object_cache()wp-admin/includes/class-wp-site-health.php | Determines whether to suggest using a persistent object cache. |
WP_Site_Health::get_test_persistent_object_cache()wp-admin/includes/class-wp-site-health.php | Tests if the site uses persistent object cache and recommends to use it if not. |
IXR_Message::parse()wp-includes/IXR/class-IXR-message.php | |
_register_remote_theme_patterns()wp-includes/block-patterns.php | Registers patterns from Pattern Directory provided by a theme’s |
wp_filesize()wp-includes/functions.php | Wrapper for PHP filesize with filters and casting the result as an integer. |
wp_maybe_update_user_counts()wp-includes/user.php | Updates the total count of users on the site if live user counting is enabled. |
wp_is_large_user_count()wp-includes/user.php | Determines whether the site has a large number of users. |
_load_remote_featured_patterns()wp-includes/block-patterns.php | Register |
WP_Theme_JSON_Resolver::get_user_data()wp-includes/class-wp-theme-json-resolver.php | Returns the user’s origin config. |
WP_REST_Menu_Items_Controller::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php | Prepares a single post output for response. |
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_URL_Details_Controller::set_cache()wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php | Utility function to cache a given data set at a given cache key. |
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::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::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php | Prepares a single term output for response. |
WP_REST_Menu_Locations_Controller::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-menu-locations-controller.php | Prepares a menu location object for serialization. |
WP_Theme::get_file_path()wp-includes/class-wp-theme.php | Retrieves the path of a file in the theme. |
wp_list_users()wp-includes/user.php | Lists all the users of the site, with several options available. |
get_block_file_template()wp-includes/block-template-utils.php | Retrieves a unified template object based on a theme file. |
get_allowed_block_template_part_areas()wp-includes/block-template-utils.php | Returns a filtered list of allowed area values for template parts. |
get_default_block_template_types()wp-includes/block-template-utils.php | Returns a filtered list of default template types, containing their localized titles and descriptions. |
wp_omit_loading_attr_threshold()wp-includes/media.php | Gets the threshold for how many of the first content media elements to not lazy-load. |
rest_get_route_for_post_type_items()wp-includes/rest-api.php | Gets the REST API route for a post type. |
rest_get_route_for_taxonomy_items()wp-includes/rest-api.php | Gets the REST API route for a taxonomy. |
WP_Widget_Block::widget()wp-includes/widgets/class-wp-widget-block.php | Outputs the content for the current Block widget instance. |
WP_Widget_Block::get_dynamic_classname()wp-includes/widgets/class-wp-widget-block.php | Calculates the classname to use in the block widget’s container HTML. |
_load_remote_block_patterns()wp-includes/block-patterns.php | Register Core’s official patterns from wordpress.org/patterns. |
WP_Theme_JSON_Resolver::get_theme_data()wp-includes/class-wp-theme-json-resolver.php | Returns the theme’s data. |
WP_Theme_JSON_Resolver::get_core_data()wp-includes/class-wp-theme-json-resolver.php | Returns core’s origin config. |
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_Sidebars_Controller::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php | Prepares a single sidebar output for response. |
WP_REST_Templates_Controller::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php | Prepare a single template output for response |
WP_REST_Pattern_Directory_Controller::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php | Prepare a raw block pattern before it gets output in a REST API response. |
WP_REST_Pattern_Directory_Controller::get_collection_params()wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php | Retrieves the search parameters for the block pattern’s collection. |
WP_REST_Widget_Types_Controller::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php | Prepares a widget type object for serialization. |
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::get_widget_form()wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php | Returns the output of WP_Widget::form() when called with the provided instance. Used by encode_form_data() to preview a widget’s form. |
get_legacy_widget_block_editor_settings()wp-includes/block-editor.php | Returns the block editor settings needed to use the Legacy Widget block which is not registered by default. |
get_block_editor_settings()wp-includes/block-editor.php | Returns the contextualized block editor settings for a selected editor context. |
block_editor_rest_api_preload()wp-includes/block-editor.php | Preloads common data used with the block editor by specifying an array of REST API paths that will be preloaded for a given block editor context. |
get_allowed_block_types()wp-includes/block-editor.php | Gets the list of allowed block types to use in the block editor. |
get_default_block_editor_settings()wp-includes/block-editor.php | Returns the default block editor settings. |
wp_render_widget()wp-includes/widgets.php | Calls the render callback of a widget and returns the output. |
wp_use_widgets_block_editor()wp-includes/widgets.php | Whether or not to use the block editor to manage widgets. Defaults to true unless a theme has removed support for widgets-block-editor or a plugin has filtered the return value of this function. |
wp_xmlrpc_server::set_is_enabled()wp-includes/class-wp-xmlrpc-server.php | Sets wp_xmlrpc_server::$is_enabled property. |
wp_maybe_inline_styles()wp-includes/script-loader.php | Allows small styles to be inlined. |
wp_should_load_separate_core_block_assets()wp-includes/script-loader.php | Checks whether separate styles should be loaded for core blocks on-render. |
get_block_templates()wp-includes/block-template-utils.php | Retrieves a list of unified template objects based on a query. |
get_block_template()wp-includes/block-template-utils.php | Retrieves a single unified template object using its id. |
get_adjacent_image_link()wp-includes/media.php | Gets the next or previous image link that has the same post parent. |
build_query_vars_from_query_block()wp-includes/blocks.php | Helper function that constructs a WP_Query args array from a |
wp_robots()wp-includes/robots-template.php | Displays the robots meta tag as necessary. |
wp_get_inline_script_tag()wp-includes/script-loader.php | Wraps inline JavaScript in |
wp_get_script_tag()wp-includes/script-loader.php | Formats |
wp_get_update_https_url()wp-includes/functions.php | Gets the URL to learn more about updating the site to use HTTPS. |
wp_get_direct_update_https_url()wp-includes/functions.php | Gets the URL for directly updating the site to use HTTPS. |
is_post_status_viewable()wp-includes/post.php | Determines whether a post status is considered “viewable”. |
wp_iframe_tag_add_loading_attr()wp-includes/media.php | Adds |
wp_update_https_detection_errors()wp-includes/deprecated.php | Runs a remote HTTPS request to detect whether HTTPS supported, and stores potential errors. |
wp_is_site_url_using_https()wp-includes/https-detection.php | Checks whether the current site’s URL where WordPress is stored is using HTTPS. |
wp_should_replace_insecure_home_url()wp-includes/https-migration.php | Checks whether WordPress should replace old HTTP URLs to the site with their HTTPS counterpart. |
wp_is_site_protected_by_basic_auth()wp-includes/load.php | Checks if this site is protected by HTTP Basic Auth. |
wpmu_new_site_admin_notification()wp-includes/ms-functions.php | Notifies the Multisite network administrator that a new site was created. |
WP_REST_Server::get_max_batch_size()wp-includes/rest-api/class-wp-rest-server.php | Gets the maximum number of requests that can be included in a batch. |
WP_REST_Server::serve_batch_request_v1()wp-includes/rest-api/class-wp-rest-server.php | Serves the batch/v1 request. |
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::validate_request_permission()wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php | Validates if the current user can request this REST endpoint. |
WP_REST_Application_Passwords_Controller::prepare_item_for_database()wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php | Prepares an application password for a create or update operation. |
WP_REST_Application_Passwords_Controller::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php | Prepares the application password for the REST response. |
WP_REST_Comments_Controller::check_is_comment_content_allowed()wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php | If empty comments are not allowed, checks if the provided comment content is not empty. |
WP_REST_Term_Search_Handler::search_items()wp-includes/rest-api/search/class-wp-rest-term-search-handler.php | Searches the object type content for a given search request. |
WP_REST_Post_Format_Search_Handler::search_items()wp-includes/rest-api/search/class-wp-rest-post-format-search-handler.php | Searches the object type content for a given search request. |
wp_should_load_block_editor_scripts_and_styles()wp-includes/script-loader.php | Checks if the editor scripts and styles for all registered block types should be enqueued on the current screen. |
wp_is_application_passwords_available()wp-includes/user.php | Checks if Application Passwords is globally available. |
wp_is_application_passwords_available_for_user()wp-includes/user.php | Checks if Application Passwords is available for a specific user. |
wp_authenticate_application_password()wp-includes/user.php | Authenticates the user using an application password. |
get_media_states()wp-admin/includes/template.php | Retrieves an array of media states from an attachment. |
wp_is_auto_update_forced_for_item()wp-admin/includes/update.php | Checks whether auto-updates are forced for an item. |
WP_Comments_List_Table::comment_type_dropdown()wp-admin/includes/class-wp-comments-list-table.php | Displays a comment type drop-down for filtering on the Comments list table. |
core_auto_updates_settings()wp-admin/update-core.php | Display WordPress auto-updates settings. |
esc_xml()wp-includes/formatting.php | Escaping for XML blocks. |
get_metadata_default()wp-includes/meta.php | Retrieves default metadata value for the specified meta key and object. |
get_metadata_raw()wp-includes/meta.php | Retrieves raw metadata value for the specified object. |
WP_Block::render()wp-includes/class-wp-block.php | Generates the render output for the block. |
wp_is_maintenance_mode()wp-includes/load.php | Checks if maintenance mode is enabled. |
WP_REST_Block_Directory_Controller::get_collection_params()wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php | Retrieves the search params for the blocks collection. |
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::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php | Prepares the plugin for the REST response. |
WP_REST_Block_Types_Controller::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php | Prepares a block type object for serialization. |
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. |
_wp_batch_update_comment_type()wp-includes/comment.php | Updates the comment type for a batch of comments. |
wp_img_tag_add_width_and_height_attr()wp-includes/media.php | Adds |
wp_img_tag_add_srcset_and_sizes_attr()wp-includes/media.php | Adds |
wp_img_tag_add_loading_attr()wp-includes/deprecated.php | Adds |
wp_image_src_get_dimensions()wp-includes/media.php | Determines an image’s width and height dimensions based on the source file. |
wp_lazy_loading_enabled()wp-includes/media.php | Determines whether to add the |
wp_filter_content_tags()wp-includes/media.php | Filters specific tags in post content and modifies their markup. |
wp_image_file_matches_image_meta()wp-includes/media.php | Determines if the image meta data is for the image source file. |
rest_get_route_for_post()wp-includes/rest-api.php | Gets the REST API route for a post. |
rest_get_route_for_term()wp-includes/rest-api.php | Gets the REST API route for a term. |
rest_get_queried_resource_route()wp-includes/rest-api.php | Gets the REST route for the currently queried object. |
WP_Embed::get_embed_handler_html()wp-includes/class-wp-embed.php | Returns embed HTML for a given URL from embed handlers. |
register_block_type_from_metadata()wp-includes/blocks.php | Registers a block type from the metadata stored in the |
wp_sitemaps_get_max_urls()wp-includes/sitemaps.php | Gets the maximum number of URLs for a sitemap. |
WP_Sitemaps_Provider::get_sitemap_entries()wp-includes/sitemaps/class-wp-sitemaps-provider.php | Lists sitemap pages exposed by this provider. |
WP_Sitemaps_Renderer::get_sitemap_index_stylesheet_url()wp-includes/sitemaps/class-wp-sitemaps-renderer.php | Gets the URL for the sitemap index stylesheet. |
WP_Sitemaps::sitemaps_enabled()wp-includes/sitemaps/class-wp-sitemaps.php | Determines whether sitemaps are enabled or not. |
WP_Sitemaps_Users::get_url_list()wp-includes/sitemaps/providers/class-wp-sitemaps-users.php | Gets a URL list for a user sitemap. |
WP_Sitemaps_Users::get_max_num_pages()wp-includes/sitemaps/providers/class-wp-sitemaps-users.php | Gets the max number of pages available for the object type. |
WP_Sitemaps_Users::get_users_query_args()wp-includes/sitemaps/providers/class-wp-sitemaps-users.php | Returns the query args for retrieving users to list in the sitemap. |
WP_Sitemaps_Renderer::get_sitemap_stylesheet_url()wp-includes/sitemaps/class-wp-sitemaps-renderer.php | Gets the URL for the sitemap stylesheet. |
WP_Sitemaps_Taxonomies::get_object_subtypes()wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php | Returns all public, registered taxonomies. |
WP_Sitemaps_Taxonomies::get_url_list()wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php | Gets a URL list for a taxonomy sitemap. |
WP_Sitemaps_Taxonomies::get_max_num_pages()wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php | Gets the max number of pages available for the object type. |
WP_Sitemaps_Taxonomies::get_taxonomies_query_args()wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php | Returns the query args for retrieving taxonomy terms to list in the sitemap. |
WP_Sitemaps_Posts::get_posts_query_args()wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php | Returns the query args for retrieving posts to list in the sitemap. |
WP_Sitemaps_Posts::get_object_subtypes()wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php | Returns the public post types, which excludes nav_items and similar types. |
WP_Sitemaps_Posts::get_url_list()wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php | Gets a URL list for a post type sitemap. |
WP_Sitemaps_Posts::get_max_num_pages()wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php | Gets the max number of pages available for the object type. |
WP_Sitemaps_Stylesheet::get_stylesheet_css()wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php | Gets the CSS to be included in sitemap XSL stylesheets. |
WP_Sitemaps_Registry::add_provider()wp-includes/sitemaps/class-wp-sitemaps-registry.php | Adds a new sitemap provider. |
WP_Sitemaps_Stylesheet::get_sitemap_stylesheet()wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php | Returns the escaped XSL for all sitemaps, except index. |
WP_Sitemaps_Stylesheet::get_sitemap_index_stylesheet()wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php | Returns the escaped XSL for the index sitemaps. |
wp_admin_viewport_meta()wp-admin/includes/misc.php | Displays the viewport meta in the admin. |
wp_opcache_invalidate()wp-admin/includes/file.php | Attempts to clear the opcode cache for an individual PHP file. |
WP_Automatic_Updater::send_plugin_theme_email()wp-admin/includes/class-wp-automatic-updater.php | Sends an email upon the completion or failure of a plugin or theme background update. |
WP_Automatic_Updater::after_plugin_theme_update()wp-admin/includes/class-wp-automatic-updater.php | Checks whether an email should be sent after attempting plugin or theme updates. |
wp_is_auto_update_enabled_for_type()wp-admin/includes/update.php | Checks whether auto-updates are enabled. |
Plugin_Installer_Skin::do_overwrite()wp-admin/includes/class-plugin-installer-skin.php | Checks if the plugin can be overwritten and outputs the HTML for overwriting a plugin on upload. |
Theme_Installer_Skin::do_overwrite()wp-admin/includes/class-theme-installer-skin.php | Checks if the theme can be overwritten and outputs the HTML for overwriting a theme on upload. |
WP_MS_Themes_List_Table::column_autoupdates()wp-admin/includes/class-wp-ms-themes-list-table.php | Handles the auto-updates column output. |
wp_ajax_toggle_auto_updates()wp-admin/includes/ajax-actions.php | Handles enabling or disable plugin and theme auto-updates via AJAX. |
wp_theme_auto_update_setting_template()wp-admin/themes.php | Returns the JavaScript template used to display the auto-update setting for a theme. |
WP_Site_Health::perform_test()wp-admin/includes/class-wp-site-health.php | Runs a Site Health test directly. |
wpdb::log_query()wp-includes/class-wpdb.php | Logs query data. |
WP_Image_Editor::maybe_exif_rotate()wp-includes/class-wp-image-editor.php | Check if a JPEG image has EXIF Orientation tag and rotate it if needed. |
wp_date()wp-includes/functions.php | Retrieves the date, in localized format. |
wp_get_original_image_path()wp-includes/post.php | Retrieves the path to an uploaded image file. |
wp_get_original_image_url()wp-includes/post.php | Retrieves the URL to an original attachment image. |
get_post_states()wp-admin/includes/template.php | Retrieves an array of post states from a post. |
wp_get_missing_image_subsizes()wp-admin/includes/image.php | Compare the existing image sub-sizes (as saved in the attachment meta) to the currently registered image sub-sizes, and return the difference. |
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_create_image_subsizes()wp-admin/includes/image.php | Creates image sub-sizes, adds the new data to the image meta |
WP_Privacy_Data_Removal_Requests_List_Table::column_email()wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php | Outputs the Actions column. |
WP_Privacy_Data_Removal_Requests_List_Table::column_next_steps()wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php | Outputs the Next steps column. |
WP_MS_Sites_List_Table::site_states()wp-admin/includes/class-wp-ms-sites-list-table.php | Determines whether to output comma-separated site states. |
WP_Privacy_Data_Export_Requests_List_Table::column_email()wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php | Actions column. |
WP_Privacy_Data_Export_Requests_List_Table::column_next_steps()wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php | Displays the next steps column. |
WP_Recovery_Mode::get_email_rate_limit()wp-includes/class-wp-recovery-mode.php | Gets the rate limit between sending new recovery mode email links. |
WP_Recovery_Mode::get_link_ttl()wp-includes/class-wp-recovery-mode.php | Gets the number of seconds the recovery mode link is valid for. |
wp_is_jsonp_request()wp-includes/load.php | Checks whether current request is a JSONP request, or is expecting a JSONP response. |
is_protected_endpoint()wp-includes/load.php | Determines whether we are currently on an endpoint that should be protected against WSODs. |
is_protected_ajax_action()wp-includes/load.php | Determines whether we are currently handling an Ajax action that should be protected against WSODs. |
get_feed_build_date()wp-includes/feed.php | Gets the UTC time of the most recently modified post from WP_Query. |
WP_Recovery_Mode_Email_Service::send_recovery_mode_email()wp-includes/class-wp-recovery-mode-email-service.php | Sends the Recovery Mode email to the site admin email address. |
WP_Recovery_Mode_Link_Service::get_recovery_mode_begin_url()wp-includes/class-wp-recovery-mode-link-service.php | Gets a URL to begin recovery mode. |
WP_Recovery_Mode_Cookie_Service::set_cookie()wp-includes/class-wp-recovery-mode-cookie-service.php | Sets the recovery mode cookie. |
WP_Recovery_Mode_Cookie_Service::validate_cookie()wp-includes/class-wp-recovery-mode-cookie-service.php | Validates the recovery mode cookie. |
wp_is_fatal_error_handler_enabled()wp-includes/error-protection.php | Checks whether the fatal error handler is enabled. |
WP_Fatal_Error_Handler::display_default_error_template()wp-includes/class-wp-fatal-error-handler.php | Displays the default PHP error template. |
WP_Fatal_Error_Handler::should_handle_error()wp-includes/class-wp-fatal-error-handler.php | Determines whether we are dealing with an error that WordPress should handle in order to protect the admin backend against WSODs. |
wp_filter_oembed_iframe_title_attribute()wp-includes/embed.php | Filters the given oEmbed HTML to make sure iframes have a title attribute. |
WP_Query::generate_postdata()wp-includes/class-wp-query.php | Generates post data. |
WP_Debug_Data::debug_data()wp-admin/includes/class-wp-debug-data.php | Static function for generating site debug data when required. |
wp_trusted_keys()wp-admin/includes/file.php | Retrieves the list of signing keys trusted by WordPress. |
WP_Site_Health::get_test_rest_availability()wp-admin/includes/class-wp-site-health.php | Tests if the REST API is accessible. |
WP_Site_Health::get_tests()wp-admin/includes/class-wp-site-health.php | Returns a set of tests that belong to the site status page. |
WP_Site_Health::can_perform_loopback()wp-admin/includes/class-wp-site-health.php | Runs a loopback test on the site. |
WP_Site_Health::get_test_php_extensions()wp-admin/includes/class-wp-site-health.php | Tests if required PHP modules are installed on the host. |
WP_Posts_List_Table::formats_dropdown()wp-admin/includes/class-wp-posts-list-table.php | Displays a formats drop-down for filtering items. |
WP_Site_Health_Auto_Updates::test_accepts_dev_updates()wp-admin/includes/class-wp-site-health-auto-updates.php | Checks if the install is using a development branch and can use nightly packages. |
WP_Site_Health_Auto_Updates::test_accepts_minor_updates()wp-admin/includes/class-wp-site-health-auto-updates.php | Checks if the site supports automatic minor updates. |
WP_Site_Health_Auto_Updates::test_filters_automatic_updater_disabled()wp-admin/includes/class-wp-site-health-auto-updates.php | Checks if automatic updates are disabled by a filter. |
WP_Site_Health_Auto_Updates::test_vcs_abspath()wp-admin/includes/class-wp-site-health-auto-updates.php | Checks if WordPress is controlled by a VCS (Git, Subversion etc). |
wp_get_direct_php_update_url()wp-includes/functions.php | Gets the URL for directly updating the PHP version the site is running on. |
wp_targeted_link_rel_callback()wp-includes/formatting.php | Callback to add |
wp_using_themes()wp-includes/load.php | Determines whether the current request should use themes. |
wp_get_ready_cron_jobs()wp-includes/cron.php | Retrieves cron jobs ready to be run. |
wp_get_scheduled_event()wp-includes/cron.php | Retrieves a scheduled event. |
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_is_site_initialized()wp-includes/ms-site.php | Checks whether a site is initialized. |
wp_prepare_site_data()wp-includes/ms-site.php | Prepares site data for insertion or update in the database. |
wp_get_update_php_url()wp-includes/functions.php | Gets the URL to learn more about updating the PHP version the site is running on. |
is_avatar_comment_type()wp-includes/link-template.php | Check if this comment type allows avatars to be retrieved. |
wp_check_php_version()wp-admin/includes/misc.php | Checks if the user needs to update PHP. |
populate_network_meta()wp-admin/includes/schema.php | Creates WordPress network meta and sets the default values. |
populate_site_meta()wp-admin/includes/schema.php | Creates WordPress site meta and sets the default values. |
load_script_translations()wp-includes/l10n.php | Loads the translation data for the given script handle and text domain. |
wp_kses_uri_attributes()wp-includes/kses.php | Returns an array of HTML attribute names whose value contains a URL. |
WP_REST_Themes_Controller::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php | Prepares a single theme output for response. |
WP_REST_Themes_Controller::get_collection_params()wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php | Retrieves the search params for the themes collection. |
WP_REST_Autosaves_Controller::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php | Prepares the revision for the REST response. |
WP_REST_Revisions_Controller::prepare_items_query()wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php | Determines the allowed query_vars for a get_items() response and prepares them for WP_Query. |
WP_REST_Post_Search_Handler::search_items()wp-includes/rest-api/search/class-wp-rest-post-search-handler.php | Searches the object type content for a given search request. |
load_script_textdomain()wp-includes/l10n.php | Loads the script translated strings. |
determine_locale()wp-includes/l10n.php | Determines the current locale desired for the request. |
wp_get_script_polyfill()wp-includes/script-loader.php | Returns contents of an inline script used in appending polyfill scripts for browsers which fail the provided tests. The provided array is a mapping from a condition to verify feature support to its polyfill script handle. |
wp_tinymce_inline_scripts()wp-includes/script-loader.php | Adds inline scripts required for the TinyMCE in the block editor. |
get_oembed_response_data_for_url()wp-includes/embed.php | Retrieves the oEmbed response data for a given URL. |
wp_get_code_editor_settings()wp-includes/general-template.php | Generates and returns code editor settings. |
rest_preload_api_request()wp-includes/rest-api.php | Append result of internal request to REST API for purpose of preloading data to be attached to a page. |
WP_Block_Type::set_props()wp-includes/class-wp-block-type.php | Sets block type properties. |
parse_blocks()wp-includes/blocks.php | Parses blocks out of a content string. |
excerpt_remove_blocks()wp-includes/blocks.php | Parses blocks out of a content string, and renders those appropriate for the excerpt. |
render_block()wp-includes/blocks.php | Renders a single block into a HTML string. |
the_block_editor_meta_boxes()wp-admin/includes/post.php | Renders the meta boxes forms. |
use_block_editor_for_post_type()wp-includes/post.php | Returns whether a post type is compatible with the block editor. |
get_block_categories()wp-includes/block-editor.php | Returns all the categories for block types that will be shown in the block editor. |
use_block_editor_for_post()wp-includes/post.php | Returns whether the post can be edited in the block editor. |
get_object_subtype()wp-includes/meta.php | Returns the object subtype for a given object ID of a specific type. |
wp_comments_personal_data_eraser()wp-includes/comment.php | Erases personal data associated with an email address from the comments table. |
wp_privacy_delete_old_export_files()wp-includes/functions.php | Cleans up export files older than three days old. |
wp_privacy_exports_dir()wp-includes/functions.php | Returns the directory used to store personal data export files. |
wp_privacy_exports_url()wp-includes/functions.php | Returns the URL of the directory used to store personal data export files. |
wp_privacy_anonymize_data()wp-includes/functions.php | Returns uniform “anonymous” data by type. |
wp_validate_user_request_key()wp-includes/user.php | Validates a user request by comparing the key with the request’s key. |
_wp_privacy_send_request_confirmation_notification()wp-includes/user.php | Notifies the site administrator via email when a request is confirmed. |
_wp_privacy_send_erasure_fulfillment_notification()wp-includes/user.php | Notifies the user when their erasure request is fulfilled. |
_wp_privacy_account_request_confirmed_message()wp-includes/user.php | Returns request confirmation message HTML. |
wp_user_request_action_description()wp-includes/user.php | Gets action description from the name and return a string. |
wp_send_user_request()wp-includes/user.php | Send a confirmation request email to confirm an action. |
wp_user_personal_data_exporter()wp-includes/user.php | Finds and exports personal data associated with an email address from the user and user_meta table. |
get_the_privacy_policy_link()wp-includes/link-template.php | Returns the privacy policy link with formatting, when applicable. |
get_privacy_policy_url()wp-includes/link-template.php | Retrieves the URL to the privacy policy page. |
wp_privacy_process_personal_data_export_page()wp-admin/includes/privacy-tools.php | Intercept personal data exporter page Ajax responses in order to assemble the personal data export file. |
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_process_personal_data_erasure_page()wp-admin/includes/privacy-tools.php | Mark erasure requests as completed after processing is finished. |
_wp_personal_data_cleanup_requests()wp-admin/includes/privacy-tools.php | Cleans up failed and expired requests before displaying the list table. |
wp_ajax_wp_privacy_export_personal_data()wp-admin/includes/ajax-actions.php | Handles exporting a user’s personal data via AJAX. |
wp_ajax_wp_privacy_erase_personal_data()wp-admin/includes/ajax-actions.php | Handles erasing personal data via AJAX. |
WP_Network::get_main_site_id()wp-includes/class-wp-network.php | Returns the main site ID for the network. |
wp_unschedule_hook()wp-includes/cron.php | Unschedules all events attached to the hook. |
WP_Customize_Manager::handle_load_themes_request()wp-includes/class-wp-customize-manager.php | Loads themes into the theme browsing/installation UI. |
WP_Customize_Manager::trash_changeset_post()wp-includes/class-wp-customize-manager.php | Trashes or deletes a changeset post. |
WP_Customize_Manager::branching()wp-includes/class-wp-customize-manager.php | Whether the changeset branching is allowed. |
get_the_post_type_description()wp-includes/general-template.php | Retrieves the description for a post type archive. |
wp_get_nav_menu_name()wp-includes/nav-menu.php | Returns the name of a navigation menu. |
wp_site_admin_email_change_notification()wp-includes/functions.php | Sends an email to the old site admin email address when the site admin email address changes. |
WP_Widget_Media_Gallery::get_instance_schema()wp-includes/widgets/class-wp-widget-media-gallery.php | Get schema for properties of a widget instance (item). |
WP_Widget_Custom_HTML::widget()wp-includes/widgets/class-wp-widget-custom-html.php | Outputs the content for the current Custom HTML widget instance. |
update_network_option_new_admin_email()wp-includes/ms-functions.php | Sends a confirmation request email when a change of network admin email address is attempted. |
wp_network_admin_email_change_notification()wp-includes/ms-functions.php | Sends an email to the old network admin email address when the network admin email address changes. |
wp_admin_headers()wp-admin/includes/misc.php | Sends a referrer policy header so referrers are not sent externally from administration screens. |
wp_get_plugin_file_editable_extensions()wp-admin/includes/file.php | Gets the list of file extensions that are editable in plugins. |
wp_get_theme_file_editable_extensions()wp-admin/includes/file.php | Gets the list of file extensions that are editable for a given theme. |
wp_edit_theme_plugin_file()wp-admin/includes/file.php | Attempts to edit a file for a theme or plugin. |
wp_doing_cron()wp-includes/load.php | Determines whether the current request is a WordPress cron request. |
wp_is_file_mod_allowed()wp-includes/load.php | Determines whether file modifications are allowed. |
WP_oEmbed_Controller::get_proxy_item()wp-includes/class-wp-oembed-controller.php | Callback for the proxy API endpoint. |
WP_Widget_Media_Audio::enqueue_preview_scripts()wp-includes/widgets/class-wp-widget-media-audio.php | Enqueue preview scripts. |
WP_Widget_Media_Video::enqueue_preview_scripts()wp-includes/widgets/class-wp-widget-media-video.php | Enqueue preview scripts. |
WP_Widget_Media::get_instance_schema()wp-includes/widgets/class-wp-widget-media.php | Get schema for properties of a widget instance (item). |
WP_Widget_Media::widget()wp-includes/widgets/class-wp-widget-media.php | Displays the widget on the front-end. |
rest_get_avatar_sizes()wp-includes/rest-api.php | Retrieves the pixel sizes for avatars. |
create_initial_rest_routes()wp-includes/rest-api.php | Registers default REST API routes. |
wp_doing_ajax()wp-includes/load.php | Determines whether the current request is a WordPress Ajax request. |
WP_Customize_Manager::get_allowed_urls()wp-includes/class-wp-customize-manager.php | Gets URLs allowed to be previewed. |
WP_Customize_Manager::save_changeset_post()wp-includes/class-wp-customize-manager.php | Saves the post for the loaded changeset. |
get_theme_starter_content()wp-includes/theme.php | Expands a theme’s starter content configuration using core-provided data. |
wp_update_custom_css_post()wp-includes/theme.php | Updates the |
wp_get_custom_css()wp-includes/theme.php | Fetches the saved Custom CSS content for rendering. |
get_header_video_url()wp-includes/theme.php | Retrieves header video URL for custom header. |
get_header_video_settings()wp-includes/theme.php | Retrieves header video settings. |
is_header_video_active()wp-includes/theme.php | Checks whether the custom header video is eligible to show on the current page. |
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::get_collection_params()wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php | Retrieves the query params for collections. |
WP_REST_Users_Controller::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php | Prepares a single user output for response. |
WP_REST_Users_Controller::prepare_item_for_database()wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php | Prepares a single user for creation or update. |
WP_REST_Users_Controller::get_items()wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php | Retrieves all users. |
WP_REST_Revisions_Controller::prepare_excerpt_response()wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php | Checks the post excerpt and prepare it for single post output. |
WP_REST_Revisions_Controller::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php | Prepares the revision for the REST response. |
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::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php | Prepares a single attachment output for response. |
WP_REST_Post_Statuses_Controller::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php | Prepares a post status object for serialization. |
WP_REST_Settings_Controller::get_item()wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php | Retrieves the settings. |
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::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php | Prepares a single term output for response. |
WP_REST_Terms_Controller::get_collection_params()wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php | Retrieves the query params for collections. |
WP_REST_Terms_Controller::prepare_item_for_database()wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php | Prepares a single term for create or update. |
WP_REST_Terms_Controller::get_items()wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php | Retrieves terms associated with a taxonomy. |
WP_REST_Posts_Controller::get_item_schema()wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php | Retrieves the post’s schema, conforming to JSON Schema. |
WP_REST_Posts_Controller::get_collection_params()wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php | Retrieves the query params for the posts collection. |
WP_REST_Posts_Controller::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php | Prepares a single post output for response. |
WP_REST_Posts_Controller::prepare_items_query()wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php | Determines the allowed query_vars for a get_items() response and prepares them for WP_Query. |
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::delete_item()wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php | Deletes a single post. |
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::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php | Prepares a taxonomy object for serialization. |
WP_REST_Post_Types_Controller::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php | Prepares a post type object for serialization. |
WP_REST_Comments_Controller::get_collection_params()wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php | Retrieves the query params for collections. |
WP_REST_Comments_Controller::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php | Prepares a single comment output for response. |
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::delete_item()wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php | Deletes a 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()wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php | Retrieves a list of comment items. |
WP_Taxonomy::set_props()wp-includes/class-wp-taxonomy.php | Sets taxonomy properties. |
sanitize_textarea_field()wp-includes/formatting.php | Sanitizes a multiline string from user input or from the database. |
wp_check_comment_flood()wp-includes/comment.php | Checks whether comment flooding is occurring. |
get_parent_theme_file_path()wp-includes/link-template.php | Retrieves the path of a file in the parent theme. |
get_parent_theme_file_uri()wp-includes/link-template.php | Retrieves the URL of a file in the parent theme. |
get_theme_file_path()wp-includes/link-template.php | Retrieves the path of a file in the theme. |
get_theme_file_uri()wp-includes/link-template.php | Retrieves the URL of a file in the theme. |
WP_Customize_Custom_CSS_Setting::value()wp-includes/customize/class-wp-customize-custom-css-setting.php | Fetch the value of the setting. Will return the previewed value when |
WP_Customize_Nav_Menu_Item_Setting::get_original_title()wp-includes/customize/class-wp-customize-nav-menu-item-setting.php | Get original title. |
WP_Term_Query::get_terms()wp-includes/class-wp-term-query.php | Retrieves the query results. |
WP_Term_Query::parse_orderby()wp-includes/class-wp-term-query.php | Parse and sanitize ‘orderby’ keys passed to the term query. |
WP_Term_Query::parse_query()wp-includes/class-wp-term-query.php | Parse arguments passed to the term query with default query parameters. |
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_Network_Query::set_found_networks()wp-includes/class-wp-network-query.php | Populates found_networks and max_num_pages properties for the current query if the limit clause was used. |
wp_resource_hints()wp-includes/general-template.php | Prints resource hints to browsers for pre-fetching, pre-rendering and pre-connecting to web sites. |
get_network()wp-includes/ms-network.php | Retrieves network data given a network ID or network object. |
get_site()wp-includes/ms-site.php | Retrieves site data given a site ID or site object. |
WP_Post_Type::set_props()wp-includes/class-wp-post-type.php | Sets post type properties. |
WP_Site::get_details()wp-includes/class-wp-site.php | Retrieves the details for this site. |
WP_Comment_Query::set_found_comments()wp-includes/class-wp-comment-query.php | Populates found_comments and max_num_pages properties for the current query if the limit clause was used. |
the_post_thumbnail_caption()wp-includes/post-thumbnail-template.php | Displays the post thumbnail caption. |
wp_raise_memory_limit()wp-includes/functions.php | Attempts to raise the PHP memory limit for memory intensive processes. |
_deprecated_hook()wp-includes/functions.php | Marks a deprecated action or filter hook as deprecated and throws a notice. |
wp_get_ext_types()wp-includes/functions.php | Retrieves the list of common file extensions and their types. |
wp_get_canonical_url()wp-includes/link-template.php | Returns the canonical URL for a post. |
wp_get_attachment_caption()wp-includes/post.php | Retrieves the caption for an attachment. |
WP_Site_Query::get_site_ids()wp-includes/class-wp-site-query.php | Used internally to get a list of site IDs matching the query vars. |
WP_Site_Query::set_found_sites()wp-includes/class-wp-site-query.php | Populates found_sites and max_num_pages properties for the current query if the limit clause was used. |
WP_Posts_List_Table::categories_dropdown()wp-admin/includes/class-wp-posts-list-table.php | Displays a categories drop-down for filtering on the Posts list table. |
network_edit_site_nav()wp-admin/includes/ms.php | Outputs the HTML for a network’s “Edit Site” tabular interface. |
wxr_term_meta()wp-admin/includes/export.php | Outputs term meta XML tags for a given term object. |
rest_get_server()wp-includes/rest-api.php | Retrieves the current REST server instance. |
the_embed_site_title()wp-includes/embed.php | Prints the necessary markup for the site title in an embed template. |
WP_Customize_Manager::get_nonces()wp-includes/class-wp-customize-manager.php | Gets nonces for the Customizer. |
WP_Customize_Manager::get_previewable_devices()wp-includes/class-wp-customize-manager.php | Returns a list of devices to allow previewing. |
WP_Image_Editor_Imagick::thumbnail_image()wp-includes/class-wp-image-editor-imagick.php | Efficiently resize the current image |
get_custom_logo()wp-includes/general-template.php | Returns a custom logo, linked to home unless the theme supports removing the link on the home page. |
WP_REST_Request::from_url()wp-includes/rest-api/class-wp-rest-request.php | Retrieves a WP_REST_Request object from a full URL. |
WP_REST_Response::get_curies()wp-includes/rest-api/class-wp-rest-response.php | Retrieves the CURIEs (compact URIs) used for relations. |
_wp_get_current_user()wp-includes/user.php | Retrieves the current user object. |
wp_authenticate_email_password()wp-includes/user.php | Authenticates a user using the email and password. |
wp_get_comment_fields_max_lengths()wp-includes/comment.php | Retrieves the maximum character lengths for the comment form fields. |
WP_Customize_Partial::render()wp-includes/customize/class-wp-customize-partial.php | Renders the template partial involving the associated settings. |
WP_Customize_Selective_Refresh::add_dynamic_partials()wp-includes/customize/class-wp-customize-selective-refresh.php | Registers dynamically-created partials. |
WP_Customize_Selective_Refresh::handle_render_partials_request()wp-includes/customize/class-wp-customize-selective-refresh.php | Handles the Ajax request to return the rendered partials for the requested placements. |
WP_Customize_Selective_Refresh::add_partial()wp-includes/customize/class-wp-customize-selective-refresh.php | Adds a partial. |
WP_Network::get_by_path()wp-includes/class-wp-network.php | Retrieves the closest matching network for a domain and path. |
get_rest_url()wp-includes/rest-api.php | Retrieves the URL to a REST endpoint on a site. |
rest_get_url_prefix()wp-includes/rest-api.php | Retrieves the URL prefix for any API resource. |
the_excerpt_embed()wp-includes/embed.php | Displays the post excerpt for the embed template. |
wp_oembed_add_discovery_links()wp-includes/embed.php | Adds oEmbed discovery links in the head element of the website. |
get_post_embed_url()wp-includes/embed.php | Retrieves the URL to embed a specific post in an iframe. |
get_oembed_endpoint_url()wp-includes/embed.php | Retrieves the oEmbed endpoint URL for a given permalink. |
get_post_embed_html()wp-includes/embed.php | Retrieves the embed code for a specific post. |
get_oembed_response_data()wp-includes/embed.php | Retrieves the oEmbed response data for a given post. |
get_header_image_tag()wp-includes/theme.php | Creates image tag markup for a custom header image. |
get_the_author_posts_link()wp-includes/author-template.php | Retrieves an HTML link to the author page of the current post’s author. |
wp_get_document_title()wp-includes/general-template.php | Returns document title for the current page. |
wp_calculate_image_srcset()wp-includes/media.php | A helper function to calculate the image sources to include in a ‘srcset’ attribute. |
wp_calculate_image_sizes()wp-includes/media.php | Creates a ‘sizes’ attribute value for an image. |
WP_REST_Request::get_parameter_order()wp-includes/rest-api/class-wp-rest-request.php | Retrieves the parameter priority order. |
WP_REST_Server::get_data_for_routes()wp-includes/rest-api/class-wp-rest-server.php | Retrieves the publicly-visible data for routes. |
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_index()wp-includes/rest-api/class-wp-rest-server.php | Retrieves the site index. |
WP_REST_Server::get_namespace_index()wp-includes/rest-api/class-wp-rest-server.php | Retrieves the index for a namespace. |
WP_REST_Server::envelope_response()wp-includes/rest-api/class-wp-rest-server.php | Wraps the response in an envelope. |
WP_REST_Server::get_routes()wp-includes/rest-api/class-wp-rest-server.php | Retrieves the route map. |
WP_REST_Server::serve_request()wp-includes/rest-api/class-wp-rest-server.php | Handles serving a REST API request. |
WP_REST_Server::embed_links()wp-includes/rest-api/class-wp-rest-server.php | Embeds the links from the data into the request. |
WP_REST_Server::check_authentication()wp-includes/rest-api/class-wp-rest-server.php | Checks the authentication headers if supplied. |
WP_oEmbed_Controller::get_item()wp-includes/class-wp-oembed-controller.php | Callback for the embed API endpoint. |
WP_oEmbed_Controller::register_routes()wp-includes/class-wp-oembed-controller.php | Register the oEmbed REST API route. |
get_the_post_thumbnail_url()wp-includes/post-thumbnail-template.php | Returns the post thumbnail URL. |
wp_removable_query_args()wp-includes/functions.php | Returns an array of single-use query variable names that can be removed from a URL. |
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_new_comment_notify_moderator()wp-includes/comment.php | Sends a comment moderation notification to the comment moderator. |
wp_new_comment_notify_postauthor()wp-includes/comment.php | Sends a notification of a new comment to the post author. |
get_preview_post_link()wp-includes/link-template.php | Retrieves the URL used for the post preview. |
is_post_type_viewable()wp-includes/post.php | Determines whether a post type is considered “viewable”. |
update_network_option()wp-includes/option.php | Updates the value of a network option that was already added. |
add_network_option()wp-includes/option.php | Adds a new network option. |
get_network_option()wp-includes/option.php | Retrieves a network’s option value based on the option name. |
get_subdirectory_reserved_names()wp-includes/ms-functions.php | Retrieves a list of reserved site on a sub-directory Multisite installation. |
WP_Screen::render_view_mode()wp-admin/includes/class-wp-screen.php | Renders the list table view mode preferences. |
WP_Users_List_Table::get_role_list()wp-admin/includes/class-wp-users-list-table.php | Returns an array of translated user role names for a given user object. |
signup_get_available_languages()wp-signup.php | Retrieves languages available during the site/user sign-up process. |
WP_Customize_Nav_Menu_Setting::sanitize()wp-includes/customize/class-wp-customize-nav-menu-setting.php | Sanitize an input. |
WP_Customize_Nav_Menu_Item_Setting::value_as_wp_post_nav_menu_item()wp-includes/customize/class-wp-customize-nav-menu-item-setting.php | Get the value emulated into a WP_Post and set up as a nav_menu_item. |
WP_Customize_Nav_Menu_Item_Setting::sanitize()wp-includes/customize/class-wp-customize-nav-menu-item-setting.php | Sanitize an input. |
get_language_attributes()wp-includes/general-template.php | Gets the language attributes for the ‘html’ tag. |
wp_site_icon()wp-includes/general-template.php | Displays site icon meta tags. |
get_site_icon_url()wp-includes/general-template.php | Returns the Site Icon URL. |
get_main_network_id()wp-includes/functions.php | Gets the main network ID. |
_deprecated_constructor()wp-includes/functions.php | Marks a constructor as deprecated and informs when it has been used. |
format_for_editor()wp-includes/formatting.php | Formats text for the editor. |
get_default_comment_status()wp-includes/comment.php | Gets the default comment status for a post type. |
WP_Customize_Nav_Menus::search_available_items_query()wp-includes/class-wp-customize-nav-menus.php | Performs post queries for available-item searching. |
WP_Customize_Nav_Menus::available_item_types()wp-includes/class-wp-customize-nav-menus.php | Returns an array of all the available item types. |
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_Posts_List_Table::handle_row_actions()wp-admin/includes/class-wp-posts-list-table.php | Generates and displays row action links. |
WP_Posts_List_Table::column_cb()wp-admin/includes/class-wp-posts-list-table.php | Handles the checkbox column output. |
WP_Posts_List_Table::column_title()wp-admin/includes/class-wp-posts-list-table.php | Handles the title column output. |
WP_Posts_List_Table::column_date()wp-admin/includes/class-wp-posts-list-table.php | Handles the post date column output. |
WP_Posts_List_Table::column_default()wp-admin/includes/class-wp-posts-list-table.php | Handles the default column output. |
WP_MS_Themes_List_Table::column_name()wp-admin/includes/class-wp-ms-themes-list-table.php | Handles the name column output. |
WP_MS_Themes_List_Table::column_description()wp-admin/includes/class-wp-ms-themes-list-table.php | Handles the description column output. |
WP_Site_Icon::insert_attachment()wp-admin/includes/class-wp-site-icon.php | Inserts an attachment. |
WP_Site_Icon::additional_sizes()wp-admin/includes/class-wp-site-icon.php | Adds additional sizes to be made when creating the site icon images. |
WP_Site_Icon::intermediate_image_sizes()wp-admin/includes/class-wp-site-icon.php | Adds Site Icon sizes to the array of image sizes on demand. |
WP_Comments_List_Table::handle_row_actions()wp-admin/includes/class-wp-comments-list-table.php | Generates and displays row actions links. |
wp_ajax_crop_image()wp-admin/includes/ajax-actions.php | Handles cropping an image via AJAX. |
WP_List_Table::get_primary_column_name()wp-admin/includes/class-wp-list-table.php | Gets the name of the primary column. |
WP_MS_Sites_List_Table::handle_row_actions()wp-admin/includes/class-wp-ms-sites-list-table.php | Generates and displays row action links. |
WP_Terms_List_Table::handle_row_actions()wp-admin/includes/class-wp-terms-list-table.php | Generates and displays row action links. |
WP_MS_Users_List_Table::handle_row_actions()wp-admin/includes/class-wp-ms-users-list-table.php | Generates and displays row action links. |
WP_MS_Users_List_Table::column_blogs()wp-admin/includes/class-wp-ms-users-list-table.php | Handles the sites column output. |
WP_MS_Users_List_Table::column_default()wp-admin/includes/class-wp-ms-users-list-table.php | Handles the default column output. |
WP_Media_List_Table::column_date()wp-admin/includes/class-wp-media-list-table.php | Handles the date column output. |
wp_should_upgrade_global_tables()wp-admin/includes/upgrade.php | Determine if global tables should be upgraded. |
WP_Customize_Manager::add_dynamic_settings()wp-includes/class-wp-customize-manager.php | Registers any dynamically-created settings, such as those from $_POST[‘customized’] that have no corresponding setting created. |
wpdb::get_table_charset()wp-includes/class-wpdb.php | Retrieves the character set for the given table. |
wpdb::get_col_charset()wp-includes/class-wpdb.php | Retrieves the character set for the given column. |
wp_delete_file()wp-includes/functions.php | Deletes a file. |
wp_staticize_emoji()wp-includes/formatting.php | Converts emoji to a static img element. |
wp_staticize_emoji_for_email()wp-includes/formatting.php | Converts emoji in emails into static images. |
get_avatar_data()wp-includes/link-template.php | Retrieves default data about the avatar. |
the_meta()wp-includes/post-template.php | Displays a list of post custom fields. |
wp_edit_attachments_query_vars()wp-admin/includes/post.php | Returns the query variables for the current attachments request. |
WP_Meta_Query::find_compatible_table_alias()wp-includes/class-wp-meta-query.php | Identifies an existing table alias that is compatible with the current query clause. |
WP_Customize_Panel::active()wp-includes/class-wp-customize-panel.php | Check whether panel is active to current Customizer preview. |
get_the_archive_description()wp-includes/general-template.php | Retrieves the description for an author, post type, or term archive. |
get_the_archive_title()wp-includes/general-template.php | Retrieves the archive title based on the queried object. |
wp_get_password_hint()wp-includes/user.php | Gets the text suggesting how to create strong passwords. |
_navigation_markup()wp-includes/link-template.php | Wraps passed links in navigational markup. |
get_the_posts_pagination()wp-includes/link-template.php | Retrieves a paginated navigation to next/previous set of posts, when applicable. |
WP_Customize_Section::active()wp-includes/class-wp-customize-section.php | Check whether section is active to current Customizer preview. |
WP_Session_Tokens::create()wp-includes/class-wp-session-tokens.php | Generates a session token and attaches session information to it. |
WP_Session_Tokens::destroy_all_for_all_users()wp-includes/class-wp-session-tokens.php | Destroys all sessions for all users. |
WP_Session_Tokens::get_instance()wp-includes/class-wp-session-tokens.php | Retrieves a session manager instance for a user. |
WP_Customize_Control::active()wp-includes/class-wp-customize-control.php | Check whether control is active to current Customizer preview. |
get_editor_stylesheets()wp-includes/theme.php | Retrieves any registered editor stylesheet URLs. |
get_comments_number_text()wp-includes/comment-template.php | Displays the language string for the number of comments the current post has. |
attachment_url_to_postid()wp-includes/media.php | Tries to convert an attachment URL into a post ID. |
wp_embed_handler_youtube()wp-includes/embed.php | YouTube iframe embed handler callback. |
wp_spaces_regexp()wp-includes/formatting.php | Returns the regexp for common whitespace characters. |
WP_Media_List_Table::views()wp-admin/includes/class-wp-media-list-table.php | Overrides parent views to use the filter bar display. |
_wp_handle_upload()wp-admin/includes/file.php | Handles PHP uploads in WordPress. |
WP_Plugin_Install_List_Table::views()wp-admin/includes/class-wp-plugin-install-list-table.php | Overrides parent views so we can use the filter bar display. |
translations_api()wp-admin/includes/translation-install.php | Retrieve translations from WordPress Translation API. |
login_footer()wp-login.php | Outputs the footer for the login page. |
retrieve_password()wp-includes/user.php | Handles sending a password retrieval email to a user. |
login_header()wp-login.php | Outputs the login page header. |
signup_another_blog()wp-signup.php | Shows a form for returning users to sign up for another site. |
validate_another_blog_signup()wp-signup.php | Validates a new site sign-up for an existing user. |
signup_user()wp-signup.php | Shows a form for a visitor to sign up for a new user account. |
validate_user_signup()wp-signup.php | Validates the new user sign-up. |
signup_blog()wp-signup.php | Shows a form for a user or visitor to sign up for a new site. |
validate_blog_signup()wp-signup.php | Validates new site signup. |
allow_subdirectory_install()wp-admin/includes/network.php | Allow subdirectory installation. |
WP_Automatic_Updater::run()wp-admin/includes/class-wp-automatic-updater.php | Kicks off the background update process, looping through all pending updates. |
WP_Automatic_Updater::send_email()wp-admin/includes/class-wp-automatic-updater.php | Sends an email upon the completion or failure of a background core update. |
WP_Automatic_Updater::send_debug_email()wp-admin/includes/class-wp-automatic-updater.php | Prepares and sends an email of a full log of background update results, useful for debugging and geekery. |
WP_Automatic_Updater::is_disabled()wp-admin/includes/class-wp-automatic-updater.php | Determines whether the entire automatic updater is disabled. |
WP_Automatic_Updater::is_vcs_checkout()wp-admin/includes/class-wp-automatic-updater.php | Checks for version control checkouts. |
WP_Automatic_Updater::should_update()wp-admin/includes/class-wp-automatic-updater.php | Tests to see if we can and should update a specific item. |
WP_Automatic_Updater::send_core_update_notification_email()wp-admin/includes/class-wp-automatic-updater.php | Notifies an administrator of a core update. |
Core_Upgrader::upgrade()wp-admin/includes/class-core-upgrader.php | Upgrades WordPress core. |
Core_Upgrader::should_update_to_version()wp-admin/includes/class-core-upgrader.php | Determines if this WordPress Core version should update to an offered version or not. |
Language_Pack_Upgrader::async_upgrade()wp-admin/includes/class-language-pack-upgrader.php | Asynchronously upgrades language packs after other upgrades have been made. |
WP_Upgrader::download_package()wp-admin/includes/class-wp-upgrader.php | Downloads a package. |
WP_Upgrader::install_package()wp-admin/includes/class-wp-upgrader.php | Install a package. |
WP_Upgrader::run()wp-admin/includes/class-wp-upgrader.php | Runs an upgrade/installation. |
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_prepare_themes_for_js()wp-admin/includes/theme.php | Prepares themes for JavaScript. |
WP_Screen::show_screen_options()wp-admin/includes/class-wp-screen.php | |
WP_Screen::render_screen_options()wp-admin/includes/class-wp-screen.php | Renders the screen options tab. |
WP_Screen::render_per_page_options()wp-admin/includes/class-wp-screen.php | Renders the items per page option. |
themes_api()wp-admin/includes/theme.php | Retrieves theme installer pages from the WordPress.org Themes API. |
WP_Screen::render_screen_meta()wp-admin/includes/class-wp-screen.php | Renders the screen’s help section. |
WP_Screen::get()wp-admin/includes/class-wp-screen.php | Fetches a screen object. |
WP_Plugins_List_Table::single_row()wp-admin/includes/class-wp-plugins-list-table.php | |
get_column_headers()wp-admin/includes/screen.php | Get the column headers for a screen |
get_hidden_columns()wp-admin/includes/screen.php | Get a list of hidden columns. |
get_hidden_meta_boxes()wp-admin/includes/screen.php | Gets an array of IDs of hidden meta boxes. |
WP_Plugins_List_Table::prepare_items()wp-admin/includes/class-wp-plugins-list-table.php | |
export_wp()wp-admin/includes/export.php | Generates the WXR export file for download. |
wp_create_thumbnail()wp-admin/includes/deprecated.php | This was once used to create a thumbnail from an Image given a maximum side size. |
get_editable_authors()wp-admin/includes/deprecated.php | Gets author users who can edit posts. |
get_others_unpublished_posts()wp-admin/includes/deprecated.php | Retrieves editable posts from other users. |
Language_Pack_Upgrader_Skin::bulk_footer()wp-admin/includes/class-language-pack-upgrader-skin.php | |
Theme_Upgrader_Skin::after()wp-admin/includes/class-theme-upgrader-skin.php | Performs an action following a single theme update. |
Plugin_Installer_Skin::after()wp-admin/includes/class-plugin-installer-skin.php | Performs an action following a plugin install. |
Theme_Installer_Skin::after()wp-admin/includes/class-theme-installer-skin.php | Performs an action following a single theme install. |
Bulk_Theme_Upgrader_Skin::bulk_footer()wp-admin/includes/class-bulk-theme-upgrader-skin.php | |
Bulk_Plugin_Upgrader_Skin::bulk_footer()wp-admin/includes/class-bulk-plugin-upgrader-skin.php | |
Plugin_Upgrader_Skin::after()wp-admin/includes/class-plugin-upgrader-skin.php | Performs an action following a single plugin update. |
WP_List_Table::get_items_per_page()wp-admin/includes/class-wp-list-table.php | Gets the number of items to display on a single page. |
WP_List_Table::get_column_info()wp-admin/includes/class-wp-list-table.php | Gets a list of all, hidden, and sortable columns, with filter applied. |
WP_List_Table::views()wp-admin/includes/class-wp-list-table.php | Displays the list of views available on this table. |
WP_List_Table::bulk_actions()wp-admin/includes/class-wp-list-table.php | Displays the bulk actions dropdown. |
WP_List_Table::months_dropdown()wp-admin/includes/class-wp-list-table.php | Displays a dropdown for filtering items in the list table by month. |
mu_dropdown_languages()wp-admin/includes/ms.php | Generates and displays a drop-down of available languages. |
can_edit_network()wp-admin/includes/ms.php | Determines whether or not this network from this page can be edited. |
format_code_lang()wp-admin/includes/ms.php | Returns the language for a language code. |
update_option_new_admin_email()wp-admin/includes/misc.php | Sends a confirmation request email when a change of site admin email address is attempted. |
send_confirmation_on_profile_email()wp-includes/user.php | Sends a confirmation request email when a change of user email address is attempted. |
wp_save_image_file()wp-admin/includes/image-edit.php | Saves image to file. |
image_edit_apply_changes()wp-admin/includes/image-edit.php | Performs group of changes on Editor specified. |
wp_save_image()wp-admin/includes/image-edit.php | Saves image to post, along with enqueued changes in |
wp_image_editor()wp-admin/includes/image-edit.php | Loads the WP image-editing interface. |
wp_stream_image()wp-admin/includes/image-edit.php | Streams image in WP_Image_Editor to browser. |
WP_MS_Themes_List_Table::prepare_items()wp-admin/includes/class-wp-ms-themes-list-table.php | |
insert_with_markers()wp-admin/includes/misc.php | Inserts an array of strings into a file (.htaccess), placing it between BEGIN and END markers. |
wp_doc_link_parse()wp-admin/includes/misc.php | |
set_screen_options()wp-admin/includes/misc.php | Saves option for number of rows when listing posts, pages, comments, etc. |
got_mod_rewrite()wp-admin/includes/misc.php | Returns whether the server is running Apache with the mod_rewrite module loaded. |
got_url_rewrite()wp-admin/includes/misc.php | Returns whether the server supports URL rewriting. |
get_terms_to_edit()wp-admin/includes/taxonomy.php | Gets comma-separated list of terms available to edit for the given post ID. |
WP_Theme_Install_List_Table::prepare_items()wp-admin/includes/class-wp-theme-install-list-table.php | |
WP_Theme_Install_List_Table::single_row()wp-admin/includes/class-wp-theme-install-list-table.php | Prints a theme from the WordPress.org API. |
update_right_now_message()wp-admin/includes/update.php | Displays WordPress version and active theme in the ‘At a Glance’ dashboard widget. |
wp_generate_attachment_metadata()wp-admin/includes/image.php | Generates attachment meta data and create image sub-sizes for images. |
wp_read_image_metadata()wp-admin/includes/image.php | Gets extended image metadata, exif or iptc as available. |
file_is_displayable_image()wp-admin/includes/image.php | Validates that file is suitable for displaying within a web page. |
load_image_to_edit()wp-admin/includes/image.php | Loads an image resource for editing. |
_load_image_to_edit_path()wp-admin/includes/image.php | Retrieves the path or URL of an attachment’s attached file. |
plugins_api()wp-admin/includes/plugin-install.php | Retrieves plugin installer pages from the WordPress.org Plugins API. |
wp_dashboard_recent_posts()wp-admin/includes/dashboard.php | Generates Publishing Soon and Recently Published sections. |
wp_dashboard_primary()wp-admin/includes/dashboard.php | ‘WordPress Events and News’ dashboard widget. |
wp_dashboard_browser_nag()wp-admin/includes/dashboard.php | Displays the browser update nag. |
wp_dashboard_right_now()wp-admin/includes/dashboard.php | Dashboard widget that displays some basic stats about the site. |
wp_dashboard_quick_press()wp-admin/includes/dashboard.php | Displays the Quick Draft widget. |
wp_dashboard_recent_drafts()wp-admin/includes/dashboard.php | Show recent drafts of the user on the dashboard. |
_wp_dashboard_recent_comments_row()wp-admin/includes/dashboard.php | Outputs a row for the Recent Comments widget. |
wp_dashboard_setup()wp-admin/includes/dashboard.php | Registers dashboard widgets. |
dbDelta()wp-admin/includes/upgrade.php | Modifies the database based on specified SQL statements. |
wp_new_blog_notification()wp-admin/includes/upgrade.php | Notifies the site admin that the installation of WordPress is complete. |
register_setting()wp-includes/option.php | Registers a setting and its data. |
_get_list_table()wp-admin/includes/list-table.php | Fetches an instance of a WP_List_Table class. |
get_plugin_files()wp-admin/includes/plugin.php | Gets a list of a plugin’s files. |
WP_Plugin_Install_List_Table::display_rows()wp-admin/includes/class-wp-plugin-install-list-table.php | |
edit_user()wp-admin/includes/user.php | Edit user settings based on contents of $_POST |
get_editable_roles()wp-admin/includes/user.php | Fetch a filtered list of user roles that the current user is allowed to edit. |
get_users_drafts()wp-admin/includes/user.php | Retrieve the user’s drafts. |
wp_delete_user()wp-admin/includes/user.php | Delete user and optionally reassign posts and links to another user. |
WP_Plugin_Install_List_Table::prepare_items()wp-admin/includes/class-wp-plugin-install-list-table.php | |
Walker_Category_Checklist::start_el()wp-admin/includes/class-walker-category-checklist.php | Start the element output. |
iframe_header()wp-admin/includes/template.php | Generic Iframe header for use with Thickbox. |
get_inline_data()wp-admin/includes/template.php | Adds hidden fields with the data for use in the inline editor for posts and pages. |
wp_comment_reply()wp-admin/includes/template.php | Outputs the in-line comment reply-to form in the Comments list table. |
meta_form()wp-admin/includes/template.php | Prints the form in the Custom Fields meta box. |
wp_import_upload_form()wp-admin/includes/template.php | Outputs the form used by the importers to accept the data to be imported. |
WP_Themes_List_Table::display_rows()wp-admin/includes/class-wp-themes-list-table.php | |
wp_terms_checklist()wp-admin/includes/template.php | Outputs an unordered list of checkbox input elements labelled with term names. |
wp_popular_terms_checklist()wp-admin/includes/template.php | Retrieves a list of the most popular terms from the specified taxonomy. |
wp_link_category_checklist()wp-admin/includes/template.php | Outputs a link category checklist element. |
WP_MS_Sites_List_Table::prepare_items()wp-admin/includes/class-wp-ms-sites-list-table.php | Prepares the list of sites for display. |
WP_MS_Sites_List_Table::get_columns()wp-admin/includes/class-wp-ms-sites-list-table.php | |
WP_Users_List_Table::single_row()wp-admin/includes/class-wp-users-list-table.php | Generates HTML for a single row on the users.php admin panel. |
WP_Users_List_Table::prepare_items()wp-admin/includes/class-wp-users-list-table.php | Prepares the users list for display. |
wp_read_video_metadata()wp-admin/includes/media.php | Retrieves metadata from a video file’s ID3 tags. |
wp_read_audio_metadata()wp-admin/includes/media.php | Retrieves metadata from an audio file’s ID3 tags. |
media_upload_type_form()wp-admin/includes/media.php | Outputs the legacy media upload form for a given media type. |
media_upload_type_url_form()wp-admin/includes/media.php | Outputs the legacy media upload form for external media. |
media_upload_gallery_form()wp-admin/includes/media.php | Adds gallery form to upload iframe. |
media_upload_library_form()wp-admin/includes/media.php | Outputs the legacy media upload form for the media library. |
wp_media_insert_url_form()wp-admin/includes/media.php | Creates the form for external url. |
attachment_submitbox_metadata()wp-admin/includes/media.php | Displays non-editable attachment metadata in the publish meta box. |
get_attachment_fields_to_edit()wp-admin/includes/media.php | Retrieves the attachment fields to edit form fields. |
get_media_item()wp-admin/includes/media.php | Retrieves HTML form for modifying the image attachment. |
get_compat_media_markup()wp-admin/includes/media.php | |
media_upload_form()wp-admin/includes/media.php | Outputs the legacy media upload form. |
media_upload_form_handler()wp-admin/includes/media.php | Handles form submissions for the legacy media uploader. |
wp_media_upload_handler()wp-admin/includes/media.php | Handles the process of uploading media. |
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. |
image_size_input_fields()wp-admin/includes/media.php | Retrieves HTML for the size radio buttons with the specified one checked. |
the_media_upload_tabs()wp-admin/includes/media.php | Outputs the legacy media upload tabs UI. |
get_image_send_to_editor()wp-admin/includes/media.php | Retrieves the image HTML to send to the editor. |
image_add_caption()wp-admin/includes/media.php | Adds image shortcode with caption to editor. |
get_upload_iframe_src()wp-admin/includes/media.php | Retrieves the upload iframe source URL. |
get_sample_permalink_html()wp-admin/includes/post.php | Returns the HTML of the sample permalink slug editor. |
_wp_post_thumbnail_html()wp-admin/includes/post.php | Returns HTML for the post thumbnail meta box. |
wp_check_post_lock()wp-admin/includes/post.php | Determines whether the post is currently being edited by another user. |
_admin_notice_post_locked()wp-admin/includes/post.php | Outputs the HTML for the notice to say that someone else is editing or has taken over editing of this post. |
media_upload_tabs()wp-admin/includes/media.php | Defines the default media upload tabs. |
wp_edit_posts_query()wp-admin/includes/post.php | Runs the query to fetch the posts for listing on the edit posts page. |
postbox_classes()wp-admin/includes/post.php | Returns the list of classes to be used by a meta box. |
get_sample_permalink()wp-admin/includes/post.php | Returns a sample permalink based on the post name. |
get_available_post_mime_types()wp-includes/post.php | Gets all available post MIME types for a given post type. |
edit_post()wp-admin/includes/post.php | Updates an existing post with values provided in |
get_default_post_to_edit()wp-admin/includes/post.php | Returns default post information to use when populating the “Write Post” form. |
wp_ajax_send_attachment_to_editor()wp-admin/includes/ajax-actions.php | Handles sending an attachment to the editor via AJAX. |
wp_ajax_send_link_to_editor()wp-admin/includes/ajax-actions.php | Handles sending a link to the editor via AJAX. |
wp_ajax_heartbeat()wp-admin/includes/ajax-actions.php | Handles the Heartbeat API via AJAX. |
wp_ajax_query_themes()wp-admin/includes/ajax-actions.php | Handles getting themes from themes_api() via AJAX. |
wp_ajax_wp_remove_post_lock()wp-admin/includes/ajax-actions.php | Handles removing a post lock via AJAX. |
wp_ajax_query_attachments()wp-admin/includes/ajax-actions.php | Handles querying attachments via AJAX. |
wp_ajax_save_attachment_compat()wp-admin/includes/ajax-actions.php | Handles saving backward compatible attachment attributes via AJAX. |
wp_ajax_add_menu_item()wp-admin/includes/ajax-actions.php | Handles adding a menu item via AJAX. |
wp_ajax_menu_get_metabox()wp-admin/includes/ajax-actions.php | Handles for retrieving menu meta boxes via AJAX. |
wp_ajax_inline_save()wp-admin/includes/ajax-actions.php | Handles Quick Edit saving a post from a list table via AJAX. |
wp_get_revision_ui_diff()wp-admin/includes/revision.php | Get the revision UI diff. |
wp_prepare_revisions_for_js()wp-admin/includes/revision.php | Prepare revisions for JavaScript. |
wp_ajax_nopriv_heartbeat()wp-admin/includes/ajax-actions.php | Handles the Heartbeat API in the no-privilege context via AJAX . |
wp_ajax_ajax_tag_search()wp-admin/includes/ajax-actions.php | Handles tag search via AJAX. |
wp_ajax_autocomplete_user()wp-admin/includes/ajax-actions.php | Handles user autocomplete via AJAX. |
update_core()wp-admin/includes/update-core.php | Upgrades the core of WordPress. |
post_slug_meta_box()wp-admin/includes/meta-boxes.php | Displays slug form fields. |
page_attributes_meta_box()wp-admin/includes/meta-boxes.php | Displays page attributes form fields. |
post_categories_meta_box()wp-admin/includes/meta-boxes.php | Displays post categories form fields. |
add_menu_classes()wp-admin/includes/menu.php | Adds CSS classes for top-level administration menu items. |
WP_Media_List_Table::get_columns()wp-admin/includes/class-wp-media-list-table.php | |
WP_Media_List_Table::_get_row_actions()wp-admin/includes/class-wp-media-list-table.php | |
WP_Comments_List_Table::column_author()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::column_comment()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_Terms_List_Table::column_name()wp-admin/includes/class-wp-terms-list-table.php | |
WP_Terms_List_Table::column_slug()wp-admin/includes/class-wp-terms-list-table.php | |
WP_Terms_List_Table::column_default()wp-admin/includes/class-wp-terms-list-table.php | |
WP_Terms_List_Table::prepare_items()wp-admin/includes/class-wp-terms-list-table.php | |
Walker_Nav_Menu_Checklist::start_el()wp-admin/includes/class-walker-nav-menu-checklist.php | Start the element output. |
wp_nav_menu_post_type_meta_boxes()wp-admin/includes/nav-menu.php | Creates meta boxes for any post type menu item. |
wp_nav_menu_taxonomy_meta_boxes()wp-admin/includes/nav-menu.php | Creates meta boxes for any taxonomy menu item. |
wp_nav_menu_item_post_type_meta_box()wp-admin/includes/nav-menu.php | Displays a meta box for a post type menu item. |
wp_get_nav_menu_to_edit()wp-admin/includes/nav-menu.php | Returns the menu formatted to edit. |
get_filesystem_method()wp-admin/includes/file.php | Determines which method to use for reading, writing, modifying, or deleting files on the filesystem. |
request_filesystem_credentials()wp-admin/includes/file.php | Displays a form to the user to request for their FTP/SSH details in order to connect to the filesystem. |
download_url()wp-admin/includes/file.php | Downloads a URL to a local temporary file using the WordPress HTTP API. |
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. |
WP_Filesystem()wp-admin/includes/file.php | Initializes and connects the WordPress Filesystem Abstraction classes. |
WP_Posts_List_Table::inline_edit()wp-admin/includes/class-wp-posts-list-table.php | Outputs the hidden row displayed when inline editing |
WP_Posts_List_Table::get_columns()wp-admin/includes/class-wp-posts-list-table.php | |
WP_Posts_List_Table::prepare_items()wp-admin/includes/class-wp-posts-list-table.php | |
get_comment_to_edit()wp-admin/includes/comment.php | Returns a WP_Comment object based on comment ID. |
Custom_Image_Header::insert_attachment()wp-admin/includes/class-custom-image-header.php | Inserts an attachment and its metadata. |
Custom_Image_Header::ajax_header_crop()wp-admin/includes/class-custom-image-header.php | Gets attachment uploaded by Media Manager, crops it, then saves it as a new object. Returns JSON-encoded object details. |
Custom_Image_Header::step_2()wp-admin/includes/class-custom-image-header.php | Displays second step of custom header image page. |
Custom_Image_Header::step_3()wp-admin/includes/class-custom-image-header.php | Displays third step of custom header image page. |
redirect_post()wp-admin/includes/post.php | Redirects to previous page. |
Custom_Background::wp_set_background_image()wp-admin/includes/class-custom-background.php | |
Custom_Background::handle_upload()wp-admin/includes/class-custom-background.php | Handles an Image upload for the background image. |
WP_User::has_cap()wp-includes/class-wp-user.php | Returns whether the user has the specified capability. |
WP_Role::has_cap()wp-includes/class-wp-role.php | Determines whether the role has the given capability. |
WP_Customize_Manager::add_setting()wp-includes/class-wp-customize-manager.php | Adds a customize setting. |
map_meta_cap()wp-includes/capabilities.php | Maps a capability to the primitive capabilities required of the given user to satisfy the capability being checked. |
WP_Customize_Manager::save()wp-includes/class-wp-customize-manager.php | Handles customize_save WP Ajax request to save/update a changeset. |
WP_Customize_Manager::__construct()wp-includes/class-wp-customize-manager.php | Constructor. |
WP_Styles::all_deps()wp-includes/class-wp-styles.php | Determines style dependencies. |
WP_Styles::_css_href()wp-includes/class-wp-styles.php | Generates an enqueued style’s fully-qualified URL. |
WP_Styles::do_item()wp-includes/class-wp-styles.php | Processes a style dependency. |
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. |
spawn_cron()wp-includes/cron.php | Sends a request to run cron through HTTP request that doesn’t halt page loading. |
wp_get_schedules()wp-includes/cron.php | Retrieves supported event recurrence schedules. |
wp_get_schedule()wp-includes/cron.php | Retrieves the name of the recurrence schedule for an event. |
wp_schedule_single_event()wp-includes/cron.php | Schedules an event to run only once. |
Walker_CategoryDropdown::start_el()wp-includes/class-walker-category-dropdown.php | Starts the element output. |
Walker_Category::start_el()wp-includes/class-walker-category.php | Starts the element output. |
get_the_term_list()wp-includes/category-template.php | Retrieves a post’s terms as a list with specified format. |
the_terms()wp-includes/category-template.php | Displays the terms for a post in a list. |
wp_tag_cloud()wp-includes/category-template.php | Displays a tag cloud. |
wp_generate_tag_cloud()wp-includes/category-template.php | Generates a tag cloud (heatmap) from provided data. |
get_the_tags()wp-includes/category-template.php | Retrieves the tags for a post. |
get_the_tag_list()wp-includes/category-template.php | Retrieves the tags for a post formatted as a string. |
get_the_terms()wp-includes/category-template.php | Retrieves the terms of the taxonomy that are attached to the post. |
get_the_category()wp-includes/category-template.php | Retrieves post categories. |
get_the_category_list()wp-includes/category-template.php | Retrieves category list for a post in either HTML list or custom format. |
wp_dropdown_categories()wp-includes/category-template.php | Displays or retrieves the HTML dropdown list of categories. |
wp_list_categories()wp-includes/category-template.php | Displays or retrieves the HTML list of categories. |
current_theme_supports()wp-includes/theme.php | Checks a theme’s support for a given feature. |
set_theme_mod()wp-includes/theme.php | Updates theme modification value for the active theme. |
get_header_image()wp-includes/theme.php | Retrieves header image for custom header. |
get_theme_root()wp-includes/theme.php | Retrieves path to themes directory. |
get_theme_root_uri()wp-includes/theme.php | Retrieves URI for themes directory. |
validate_current_theme()wp-includes/theme.php | Checks that the active theme has the required files. |
get_theme_mod()wp-includes/theme.php | Retrieves theme modification value for the active theme. |
get_stylesheet_directory()wp-includes/theme.php | Retrieves stylesheet directory path for the active theme. |
get_stylesheet_directory_uri()wp-includes/theme.php | Retrieves stylesheet directory URI for the active theme. |
get_stylesheet_uri()wp-includes/theme.php | Retrieves stylesheet URI for the active theme. |
get_locale_stylesheet_uri()wp-includes/theme.php | Retrieves the localized stylesheet URI. |
get_template()wp-includes/theme.php | Retrieves name of the active theme. |
get_template_directory()wp-includes/theme.php | Retrieves template directory path for the active theme. |
get_template_directory_uri()wp-includes/theme.php | Retrieves template directory URI for the active theme. |
search_theme_directories()wp-includes/theme.php | Searches all registered theme directories for complete and valid themes. |
get_stylesheet()wp-includes/theme.php | Retrieves name of the current stylesheet. |
get_available_languages()wp-includes/l10n.php | Gets all available languages based on the presence of *.mo files in a given directory. |
load_textdomain()wp-includes/l10n.php | Loads a .mo file into the text domain $domain. |
unload_textdomain()wp-includes/l10n.php | Unloads translations for a text domain. |
load_plugin_textdomain()wp-includes/l10n.php | Loads a plugin’s translated strings. |
load_muplugin_textdomain()wp-includes/l10n.php | Loads the translated strings for a plugin residing in the mu-plugins directory. |
load_theme_textdomain()wp-includes/l10n.php | Loads the theme’s translated strings. |
translate()wp-includes/l10n.php | Retrieves the translation of $text. |
translate_with_gettext_context()wp-includes/l10n.php | Retrieves the translation of $text in the context defined in $context. |
_n()wp-includes/l10n.php | Translates and retrieves the singular or plural form based on the supplied number. |
_nx()wp-includes/l10n.php | Translates and retrieves the singular or plural form based on the supplied number, with gettext context. |
get_locale()wp-includes/l10n.php | Retrieves the current locale. |
sanitize_text_field()wp-includes/formatting.php | Sanitizes a string from user input or from the database. |
sanitize_mime_type()wp-includes/formatting.php | Sanitizes a mime type |
sanitize_trackback_urls()wp-includes/formatting.php | Sanitizes space or carriage return separated URLs that are used to send trackbacks. |
esc_textarea()wp-includes/formatting.php | Escaping for textarea values. |
tag_escape()wp-includes/formatting.php | Escapes an HTML tag name. |
sanitize_option()wp-includes/formatting.php | Sanitizes various option values based on the nature of the option. |
wp_parse_str()wp-includes/formatting.php | Parses a string into variables to be stored in an array. |
wp_sprintf()wp-includes/formatting.php | WordPress’ implementation of PHP sprintf() with filters. |
wp_sprintf_l()wp-includes/formatting.php | Localizes list items before the rest of the content. |
wp_htmledit_pre()wp-includes/deprecated.php | Formats text for the HTML editor. |
esc_url()wp-includes/formatting.php | Checks and cleans a URL. |
esc_js()wp-includes/formatting.php | Escapes single quotes, |
esc_html()wp-includes/formatting.php | Escaping for HTML blocks. |
esc_attr()wp-includes/formatting.php | Escaping for HTML attributes. |
wp_richedit_pre()wp-includes/deprecated.php | Formats text for the rich text editor. |
sanitize_email()wp-includes/formatting.php | Strips out all characters that are not allowable in an email. |
human_time_diff()wp-includes/formatting.php | Determines the difference between two timestamps. |
wp_trim_excerpt()wp-includes/formatting.php | Generates an excerpt from the content, if needed. |
wp_trim_words()wp-includes/formatting.php | Trims text to a certain number of words. |
ent2ncr()wp-includes/formatting.php | Converts named entities into numbered entities. |
translate_smiley()wp-includes/formatting.php | Converts one smiley code to the icon graphic file equivalent. |
is_email()wp-includes/formatting.php | Verifies that an email is valid. |
sanitize_file_name()wp-includes/formatting.php | Sanitizes a filename, replacing whitespace with dashes. |
sanitize_user()wp-includes/formatting.php | Sanitizes a username, stripping out unsafe characters. |
sanitize_key()wp-includes/formatting.php | Sanitizes a string key. |
sanitize_title()wp-includes/formatting.php | Sanitizes a string into a slug, which can be used in URLs or HTML attributes. |
sanitize_html_class()wp-includes/formatting.php | Sanitizes an HTML classname to ensure it only contains valid characters. |
format_to_edit()wp-includes/formatting.php | Acts on text which is about to be edited. |
get_avatar()wp-includes/pluggable.php | Retrieves the avatar |
wptexturize()wp-includes/formatting.php | Replaces common plain text characters with formatted entities. |
wp_password_change_notification()wp-includes/pluggable.php | Notifies the blog admin of a user changing password, normally via email. |
wp_new_user_notification()wp-includes/pluggable.php | Emails login credentials to a newly-registered user. |
wp_nonce_tick()wp-includes/pluggable.php | Returns the time-dependent variable for nonce creation. |
wp_verify_nonce()wp-includes/pluggable.php | Verifies that a correct security nonce was used with time limit. |
wp_create_nonce()wp-includes/pluggable.php | Creates a cryptographic token tied to a specific action, user, user session, and window of time. |
wp_salt()wp-includes/pluggable.php | Returns a salt to add to hashes. |
wp_check_password()wp-includes/pluggable.php | Checks the plaintext password against the encrypted Password. |
wp_generate_password()wp-includes/pluggable.php | Generates a random password drawn from the defined set of characters. |
wp_redirect()wp-includes/pluggable.php | Redirects to another page. |
wp_validate_redirect()wp-includes/pluggable.php | Validates a URL for use in a redirect. |
wp_notify_postauthor()wp-includes/pluggable.php | Notifies an author (and/or others) of a comment/trackback/pingback on a post. |
wp_notify_moderator()wp-includes/pluggable.php | Notifies the moderator of the site about a new comment that is awaiting approval. |
wp_safe_redirect()wp-includes/pluggable.php | Performs a safe (local) redirect, using wp_redirect() . |
wp_set_auth_cookie()wp-includes/pluggable.php | Sets the authentication cookies based on user ID. |
wp_clear_auth_cookie()wp-includes/pluggable.php | Removes all of the cookies associated with authentication. |
auth_redirect()wp-includes/pluggable.php | Checks if a user is logged in, if not it redirects them to the login page. |
wp_authenticate()wp-includes/pluggable.php | Authenticates a user, confirming the login credentials are valid. |
wp_generate_auth_cookie()wp-includes/pluggable.php | Generates authentication cookie contents. |
wp_mail()wp-includes/pluggable.php | Sends an email, similar to PHP’s mail function. |
the_search_query()wp-includes/general-template.php | Displays the contents of the search query variable. |
paginate_links()wp-includes/general-template.php | Retrieves paginated links for archive post pages. |
wp_admin_css_uri()wp-includes/general-template.php | Displays the URL of a WordPress admin CSS file. |
wp_admin_css()wp-includes/general-template.php | Enqueues or directly prints a stylesheet link to the specified CSS file. |
wp_generator()wp-includes/general-template.php | Displays the XHTML generator that is generated on the wp_head hook. |
the_generator()wp-includes/general-template.php | Displays the generator XML or Comment for RSS, ATOM, etc. |
get_the_generator()wp-includes/general-template.php | Creates the generator XML or Comment for RSS, ATOM, etc. |
feed_links()wp-includes/general-template.php | Displays the links to the general feeds. |
feed_links_extra()wp-includes/general-template.php | Displays the links to the extra feeds such as category feeds. |
user_can_richedit()wp-includes/general-template.php | Determines whether the user can access the visual editor. |
wp_default_editor()wp-includes/general-template.php | Finds out which editor should be displayed by default. |
get_search_query()wp-includes/general-template.php | Retrieves the contents of the search WordPress query variable. |
get_the_modified_date()wp-includes/general-template.php | Retrieves the date on which the post was last modified. |
the_time()wp-includes/general-template.php | Displays the time at which the post was written. |
get_the_time()wp-includes/general-template.php | Retrieves the time at which the post was written. |
get_post_time()wp-includes/general-template.php | Retrieves the time at which the post was written. |
the_modified_time()wp-includes/general-template.php | Displays the time at which the post was last modified. |
get_the_modified_time()wp-includes/general-template.php | Retrieves the time at which the post was last modified. |
get_post_modified_time()wp-includes/general-template.php | Retrieves the time at which the post was last modified. |
the_weekday()wp-includes/general-template.php | Displays the weekday on which the post was written. |
the_weekday_date()wp-includes/general-template.php | Displays the weekday on which the post was written. |
get_archives_link()wp-includes/general-template.php | Retrieves archive link content based on predefined or custom code. |
wp_get_archives()wp-includes/general-template.php | Displays archive links based on type and format. |
get_calendar()wp-includes/general-template.php | Displays calendar with days that have posts as links. |
the_date()wp-includes/general-template.php | Displays or retrieves the date the current post was written (once per date) |
get_the_date()wp-includes/general-template.php | Retrieves the date on which the post was written. |
the_modified_date()wp-includes/general-template.php | Displays the date on which the post was last modified. |
get_bloginfo()wp-includes/general-template.php | Retrieves information about the current site. |
wp_title()wp-includes/general-template.php | Displays or retrieves page title for all areas of blog. |
single_post_title()wp-includes/general-template.php | Displays or retrieves page title for post. |
post_type_archive_title()wp-includes/general-template.php | Displays or retrieves title for a post type archive. |
single_term_title()wp-includes/general-template.php | Displays or retrieves page title for taxonomy term archive. |
wp_loginout()wp-includes/general-template.php | Displays the Log In/Out link. |
wp_logout_url()wp-includes/general-template.php | Retrieves the logout URL. |
wp_login_url()wp-includes/general-template.php | Retrieves the login URL. |
wp_registration_url()wp-includes/general-template.php | Returns the URL that allows the user to register on the site. |
wp_login_form()wp-includes/general-template.php | Provides a simple login form for use anywhere within WordPress. |
wp_lostpassword_url()wp-includes/general-template.php | Returns the URL that allows the user to reset the lost password. |
wp_register()wp-includes/general-template.php | Displays the Registration or Admin link. |
get_search_form()wp-includes/general-template.php | Displays search form. |
get_theme_data()wp-includes/deprecated.php | Retrieve theme data from parsed theme file. |
get_boundary_post_rel_link()wp-includes/deprecated.php | Get boundary post relational link. |
get_index_rel_link()wp-includes/deprecated.php | Get site index relational link. |
get_parent_post_rel_link()wp-includes/deprecated.php | Get parent post relational link. |
get_attachment_icon_src()wp-includes/deprecated.php | Retrieve icon URL and Path. |
get_attachment_icon()wp-includes/deprecated.php | Retrieve HTML content of icon attachment image element. |
get_attachment_innerHTML()wp-includes/deprecated.php | Retrieve HTML content of image element. |
the_content_rss()wp-includes/deprecated.php | Display the post content for the feed. |
get_links_list()wp-includes/deprecated.php | Output entire list of links by category. |
safecss_filter_attr()wp-includes/kses.php | Filters an inline style attribute and removes disallowed rules. |
previous_post()wp-includes/deprecated.php | Prints a link to the previous post. |
next_post()wp-includes/deprecated.php | Prints link to the next post. |
WP_Theme::get_allowed()wp-includes/class-wp-theme.php | Returns array of stylesheet names of themes allowed on the site or network. |
WP_Theme::get_allowed_on_network()wp-includes/class-wp-theme.php | Returns array of stylesheet names of themes allowed on the network. |
WP_Theme::get_allowed_on_site()wp-includes/class-wp-theme.php | Returns array of stylesheet names of themes allowed on the site. |
wp_kses_allowed_html()wp-includes/kses.php | Returns an array of allowed HTML tags and attributes for a given context. |
wp_kses_hook()wp-includes/kses.php | You add any KSES hooks here. |
WP_Theme::get_page_templates()wp-includes/class-wp-theme.php | Returns the theme’s post templates for a given post type. |
WP_Theme::scandir()wp-includes/class-wp-theme.php | Scans a directory for files of a certain extension. |
WP_Theme::__construct()wp-includes/class-wp-theme.php | Constructor for WP_Theme. |
WP::handle_404()wp-includes/class-wp.php | Set the Headers for 404, if nothing is found for requested URL. |
wp_is_mobile()wp-includes/vars.php | Test if the current browser runs on a mobile device (smart phone, tablet, etc.) |
WP::parse_request()wp-includes/class-wp.php | Parses the request to find the correct WordPress query. |
WP::send_headers()wp-includes/class-wp.php | Sends additional HTTP headers for caching, content type, etc. |
WP_Query::get_posts()wp-includes/class-wp-query.php | Retrieves an array of posts based on query variables. |
WP_Query::parse_search()wp-includes/class-wp-query.php | Generates SQL for the WHERE clause based on passed search terms. |
WP_Query::get_search_stopwords()wp-includes/class-wp-query.php | Retrieves stopwords used when parsing search terms. |
wp_old_slug_redirect()wp-includes/query.php | Redirect old slugs to the correct permalink. |
get_tags()wp-includes/category.php | Retrieves all post tags. |
WP_Image_Editor_Imagick::_save()wp-includes/class-wp-image-editor-imagick.php | |
get_categories()wp-includes/category.php | Retrieves a list of category objects. |
wp_start_object_cache()wp-includes/load.php | Starts the WordPress object cache. |
wp_debug_mode()wp-includes/load.php | Sets PHP error reporting based on WordPress debug settings. |
WP_Http_Cookie::getHeaderValue()wp-includes/class-wp-http-cookie.php | Convert cookie name and value back to header string. |
WP_Http_Encoding::accept_encoding()wp-includes/class-wp-http-encoding.php | What encoding types to accept and their priority values. |
WP_HTTP_Proxy::send_through_proxy()wp-includes/class-wp-http-proxy.php | Determines whether the request should be sent through a proxy. |
WP_Http_Curl::test()wp-includes/class-wp-http-curl.php | Determines whether this class can be used for retrieving a URL. |
WP_Http::block_request()wp-includes/class-wp-http.php | Determines whether an HTTP API request to the given URL should be blocked. |
WP_Http_Streams::request()wp-includes/class-wp-http-streams.php | Send a HTTP request to a URI using PHP Streams. |
WP_Http_Streams::test()wp-includes/class-wp-http-streams.php | Determines whether this class can be used for retrieving a URL. |
WP_Http_Curl::request()wp-includes/class-wp-http-curl.php | Send a HTTP request to a URI using cURL extension. |
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_allowed_protocols()wp-includes/functions.php | Retrieves a list of protocols to allow in HTML attributes. |
wp_checkdate()wp-includes/functions.php | Tests if the supplied date is valid for the Gregorian calendar. |
wp_auth_check_load()wp-includes/functions.php | Loads the auth check for monitoring whether the user is still logged in. |
wp_auth_check_html()wp-includes/functions.php | Outputs the HTML that shows the wp-login dialog when the user is no longer logged in. |
get_file_data()wp-includes/functions.php | Retrieves metadata from a file. |
_deprecated_function()wp-includes/functions.php | Marks a function as deprecated and inform when it has been used. |
_deprecated_file()wp-includes/functions.php | Marks a file as deprecated and inform when it has been used. |
_deprecated_argument()wp-includes/functions.php | Marks a function argument as deprecated and inform when it has been used. |
_doing_it_wrong()wp-includes/functions.php | Marks something as being incorrectly called. |
iis7_supports_permalinks()wp-includes/functions.php | Checks if IIS 7+ supports pretty permalinks. |
wp_maybe_load_widgets()wp-includes/functions.php | Determines if Widgets library should be loaded. |
smilies_init()wp-includes/functions.php | Converts smiley code to the icon graphic file equivalent. |
wp_upload_bits()wp-includes/functions.php | Creates a file in the upload folder with given content. |
wp_check_filetype_and_ext()wp-includes/functions.php | Attempts to determine the real file type of a file. |
wp_get_mime_types()wp-includes/functions.php | Retrieves the list of mime types and file extensions. |
get_allowed_mime_types()wp-includes/functions.php | Retrieves the list of allowed mime types and file extensions. |
wp_die()wp-includes/functions.php | Kills WordPress execution and displays HTML page with an error message. |
do_robots()wp-includes/functions.php | Displays the default robots.txt file content. |
wp_upload_dir()wp-includes/functions.php | Returns an array containing the current upload directory’s path and URL. |
wp_unique_filename()wp-includes/functions.php | Gets a filename that is sanitized and unique for the given directory. |
status_header()wp-includes/functions.php | Sets HTTP status header. |
wp_get_nocache_headers()wp-includes/functions.php | Gets the HTTP header information to prevent caching. |
number_format_i18n()wp-includes/functions.php | Converts float number to format based on the locale. |
do_enclose()wp-includes/functions.php | Checks content for video and audio links to add as enclosures. |
date_i18n()wp-includes/functions.php | Retrieves the date in localized format, based on a sum of Unix timestamp and timezone offset in seconds. |
WP_Nav_Menu_Widget::widget()wp-includes/widgets/class-wp-nav-menu-widget.php | Outputs the content for the current Navigation Menu widget instance. |
WP_Widget_Tag_Cloud::widget()wp-includes/widgets/class-wp-widget-tag-cloud.php | Outputs the content for the current Tag Cloud widget instance. |
WP_Widget_RSS::widget()wp-includes/widgets/class-wp-widget-rss.php | Outputs the content for the current RSS widget instance. |
WP_Widget_Recent_Comments::recent_comments_style()wp-includes/widgets/class-wp-widget-recent-comments.php | Outputs the default styles for the Recent Comments widget. |
WP_Widget_Recent_Comments::widget()wp-includes/widgets/class-wp-widget-recent-comments.php | Outputs the content for the current Recent Comments widget instance. |
WP_Widget_Recent_Posts::widget()wp-includes/widgets/class-wp-widget-recent-posts.php | Outputs the content for the current Recent Posts widget instance. |
WP_Widget_Categories::widget()wp-includes/widgets/class-wp-widget-categories.php | Outputs the content for the current Categories widget instance. |
WP_Widget_Text::widget()wp-includes/widgets/class-wp-widget-text.php | Outputs the content for the current Text widget instance. |
WP_Widget_Text::form()wp-includes/widgets/class-wp-widget-text.php | Outputs the Text widget settings form. |
WP_Widget_Calendar::widget()wp-includes/widgets/class-wp-widget-calendar.php | Outputs the content for the current Calendar widget instance. |
WP_Widget_Meta::widget()wp-includes/widgets/class-wp-widget-meta.php | Outputs the content for the current Meta widget instance. |
WP_Widget_Archives::widget()wp-includes/widgets/class-wp-widget-archives.php | Outputs the content for the current Archives widget instance. |
WP_Widget_Search::widget()wp-includes/widgets/class-wp-widget-search.php | Outputs the content for the current Search widget instance. |
WP_Widget_Links::widget()wp-includes/widgets/class-wp-widget-links.php | Outputs the content for the current Links widget instance. |
WP_Widget_Pages::widget()wp-includes/widgets/class-wp-widget-pages.php | Outputs the content for the current Pages widget instance. |
WP_Embed::cache_oembed()wp-includes/class-wp-embed.php | Triggers a caching of all oEmbed results. |
WP_Embed::maybe_make_link()wp-includes/class-wp-embed.php | Conditionally makes a hyperlink based on an internal class variable. |
WP_Embed::shortcode()wp-includes/class-wp-embed.php | The do_shortcode() callback function. |
WP_Feed_Cache_Transient::__construct()wp-includes/class-wp-feed-cache-transient.php | Constructor. |
_update_post_term_count()wp-includes/taxonomy.php | Updates term count based on object types of the current taxonomy. |
get_term_link()wp-includes/taxonomy.php | Generates a permalink for a taxonomy term archive. |
get_ancestors()wp-includes/taxonomy.php | Gets an array of ancestor IDs for a given object. |
wp_unique_term_slug()wp-includes/taxonomy.php | Makes term slug unique, if it isn’t already. |
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_insert_term()wp-includes/taxonomy.php | Adds a new term to the database. |
get_terms()wp-includes/taxonomy.php | Retrieves the terms in a given taxonomy or list of taxonomies. |
term_exists()wp-includes/taxonomy.php | Determines whether a taxonomy term exists. |
sanitize_term_field()wp-includes/taxonomy.php | Sanitizes the field value in the term based on the context. |
create_initial_taxonomies()wp-includes/taxonomy.php | Creates the initial taxonomies. |
get_taxonomy_labels()wp-includes/taxonomy.php | Builds an object with all taxonomy labels out of a taxonomy object. |
get_term()wp-includes/taxonomy.php | Gets all term data from database by term ID. |
self_admin_url()wp-includes/link-template.php | Retrieves the URL to the admin area for either the current site or the network depending on context. |
set_url_scheme()wp-includes/link-template.php | Sets the scheme for a URL. |
get_dashboard_url()wp-includes/link-template.php | Retrieves the URL to the user’s dashboard. |
get_edit_profile_url()wp-includes/link-template.php | Retrieves the URL to the user’s profile editor. |
wp_get_shortlink()wp-includes/link-template.php | Returns a shortlink for a post, page, attachment, or site. |
the_shortlink()wp-includes/link-template.php | Displays the shortlink for a post. |
get_admin_url()wp-includes/link-template.php | Retrieves the URL to the admin area for a given site. |
includes_url()wp-includes/link-template.php | Retrieves the URL to the includes directory. |
content_url()wp-includes/link-template.php | Retrieves the URL to the content directory. |
plugins_url()wp-includes/link-template.php | Retrieves a URL within the plugins or mu-plugins directory. |
network_site_url()wp-includes/link-template.php | Retrieves the site URL for the current network. |
network_home_url()wp-includes/link-template.php | Retrieves the home URL for the current network. |
network_admin_url()wp-includes/link-template.php | Retrieves the URL to the admin area for the network. |
user_admin_url()wp-includes/link-template.php | Retrieves the URL to the admin area for the current user. |
get_comments_pagenum_link()wp-includes/link-template.php | Retrieves the comments page number link. |
get_next_comments_link()wp-includes/link-template.php | Retrieves the link to the next comments page. |
get_previous_comments_link()wp-includes/link-template.php | Retrieves the link to the previous comments page. |
get_home_url()wp-includes/link-template.php | Retrieves the URL for a given site where the front end is accessible. |
get_site_url()wp-includes/link-template.php | Retrieves the URL for a given site where WordPress application files (e.g. wp-blog-header.php or the wp-admin/ folder) are accessible. |
get_shortcut_link()wp-includes/deprecated.php | Retrieves the Press This bookmarklet link. |
get_adjacent_post_link()wp-includes/link-template.php | Retrieves the adjacent post link. |
get_pagenum_link()wp-includes/link-template.php | Retrieves the link for a page number. |
get_next_posts_link()wp-includes/link-template.php | Retrieves the next posts page link. |
get_previous_posts_link()wp-includes/link-template.php | Retrieves the previous posts page link. |
get_edit_user_link()wp-includes/link-template.php | Retrieves the edit user link. |
get_adjacent_post()wp-includes/link-template.php | Retrieves the adjacent post. |
get_adjacent_post_rel_link()wp-includes/link-template.php | Retrieves the adjacent post relational link. |
get_search_comments_feed_link()wp-includes/link-template.php | Retrieves the permalink for the search results comments feed. |
get_post_type_archive_link()wp-includes/link-template.php | Retrieves the permalink for a post type archive. |
get_post_type_archive_feed_link()wp-includes/link-template.php | Retrieves the permalink for a post type archive feed. |
get_edit_post_link()wp-includes/link-template.php | Retrieves the edit post link for post. |
edit_post_link()wp-includes/link-template.php | Displays the edit post link for post. |
get_delete_post_link()wp-includes/link-template.php | Retrieves the delete posts link for post. |
get_edit_comment_link()wp-includes/link-template.php | Retrieves the edit comment link. |
edit_comment_link()wp-includes/link-template.php | Displays the edit comment link with formatting. |
get_edit_bookmark_link()wp-includes/link-template.php | Displays the edit bookmark link. |
edit_bookmark_link()wp-includes/link-template.php | Displays the edit bookmark link anchor content. |
get_term_feed_link()wp-includes/link-template.php | Retrieves the feed link for a term. |
get_edit_tag_link()wp-includes/link-template.php | Retrieves the edit link for a tag. |
edit_tag_link()wp-includes/link-template.php | Displays or retrieves the edit link for a tag with formatting. |
get_edit_term_link()wp-includes/link-template.php | Retrieves the URL for editing a given term. |
edit_term_link()wp-includes/link-template.php | Displays or retrieves the edit term link with formatting. |
get_search_link()wp-includes/link-template.php | Retrieves the permalink for a search. |
get_search_feed_link()wp-includes/link-template.php | Retrieves the permalink for the search results feed. |
get_month_link()wp-includes/link-template.php | Retrieves the permalink for the month archives with year. |
get_day_link()wp-includes/link-template.php | Retrieves the permalink for the day archives with year and month. |
the_feed_link()wp-includes/link-template.php | Displays the permalink for the feed type. |
get_feed_link()wp-includes/link-template.php | Retrieves the permalink for the feed type. |
get_post_comments_feed_link()wp-includes/link-template.php | Retrieves the permalink for the post comments feed. |
post_comments_feed_link()wp-includes/link-template.php | Displays the comment feed link for a post. |
get_author_feed_link()wp-includes/link-template.php | Retrieves the feed link for a given author. |
get_permalink()wp-includes/link-template.php | Retrieves the full permalink for the current post or post ID. |
get_post_permalink()wp-includes/link-template.php | Retrieves the permalink for a post of a custom post type. |
get_page_link()wp-includes/link-template.php | Retrieves the permalink for the current page or page ID. |
_get_page_link()wp-includes/link-template.php | Retrieves the page permalink. |
get_attachment_link()wp-includes/link-template.php | Retrieves the permalink for an attachment. |
get_year_link()wp-includes/link-template.php | Retrieves the permalink for the year archives. |
the_permalink()wp-includes/link-template.php | Displays the permalink for the current post. |
user_trailingslashit()wp-includes/link-template.php | Retrieves a trailing-slashed string if the site is set for adding trailing slashes. |
is_allowed_http_origin()wp-includes/http.php | Determines if the HTTP origin is an authorized one. |
wp_http_validate_url()wp-includes/http.php | Validate a URL for safe use in the HTTP API. |
wp_version_check()wp-includes/update.php | Checks WordPress version against the newest version. |
wp_update_plugins()wp-includes/update.php | Checks for available updates to plugins based on the latest versions hosted on WordPress.org. |
wp_update_themes()wp-includes/update.php | Checks for available updates to themes based on the latest versions hosted on WordPress.org. |
wp_get_update_data()wp-includes/update.php | Collects counts and UI strings for available updates. |
get_http_origin()wp-includes/http.php | Get the HTTP Origin of the current request. |
get_allowed_http_origins()wp-includes/http.php | Retrieve list of allowed HTTP origins. |
WP_Date_Query::validate_column()wp-includes/class-wp-date-query.php | Validates a column name parameter. |
WP_Date_Query::get_sql()wp-includes/class-wp-date-query.php | Generates WHERE clause to be appended to a main query. |
do_shortcode_tag()wp-includes/shortcodes.php | Regular Expression callable for do_shortcode() for calling shortcode hook. |
shortcode_atts()wp-includes/shortcodes.php | Combines user attributes with known attributes and fill in defaults when needed. |
strip_shortcodes()wp-includes/shortcodes.php | Removes all shortcode tags from the given content. |
WP_Image_Editor::set_quality()wp-includes/class-wp-image-editor.php | Sets Image Compression quality on a 1-100% scale. |
WP_Image_Editor::get_output_format()wp-includes/class-wp-image-editor.php | Returns preferred mime-type and extension based on provided file’s extension and mime, or current file’s extension and mime. |
WP_oEmbed::__construct()wp-includes/class-wp-oembed.php | Constructor. |
WP_oEmbed::get_html()wp-includes/class-wp-oembed.php | The do-it-all function that takes a URL and attempts to return the HTML. |
WP_oEmbed::discover()wp-includes/class-wp-oembed.php | Attempts to discover link tags at the given URL for an oEmbed provider. |
WP_oEmbed::fetch()wp-includes/class-wp-oembed.php | Connects to an oEmbed provider and returns the result. |
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 |
WP_oEmbed::data2html()wp-includes/class-wp-oembed.php | Converts a data object from WP_oEmbed::fetch() and returns the HTML. |
wp_admin_bar_my_sites_menu()wp-includes/admin-bar.php | Adds the “My Sites/[Site Name]” menu and all submenus. |
is_admin_bar_showing()wp-includes/admin-bar.php | Determines whether the admin bar should be showing. |
_wp_admin_bar_init()wp-includes/admin-bar.php | Instantiates the admin bar object and set it up as a global for access elsewhere. |
get_the_category_rss()wp-includes/feed.php | Retrieves all of the post categories, formatted for use in feeds. |
rss_enclosure()wp-includes/feed.php | Displays the rss enclosure for the current post. |
atom_enclosure()wp-includes/feed.php | Displays the atom enclosure for the current post. |
self_link()wp-includes/feed.php | Displays the link for the currently displayed feed in a XSS safe way. |
feed_content_type()wp-includes/feed.php | Returns the content type for specified feed type. |
fetch_feed()wp-includes/feed.php | Builds SimplePie object based on RSS or Atom feed from URL. |
get_the_content_feed()wp-includes/feed.php | Retrieves the post content for feeds. |
the_excerpt_rss()wp-includes/feed.php | Displays the post excerpt for the feed. |
the_permalink_rss()wp-includes/feed.php | Displays the permalink to the post for use in feeds. |
comments_link_feed()wp-includes/feed.php | Outputs the link to the comments for the current post in an XML safe way. |
comment_link()wp-includes/feed.php | Displays the link to the comments. |
get_comment_author_rss()wp-includes/feed.php | Retrieves the current comment author for use in the feeds. |
comment_text_rss()wp-includes/feed.php | Displays the current comment content for use in the feeds. |
get_bloginfo_rss()wp-includes/feed.php | Retrieves RSS container for the bloginfo function. |
bloginfo_rss()wp-includes/feed.php | Displays RSS container for the bloginfo function. |
get_default_feed()wp-includes/feed.php | Retrieves the default feed. |
get_wp_title_rss()wp-includes/feed.php | Retrieves the blog title for the feed title. |
wp_title_rss()wp-includes/feed.php | Displays the blog title for display of the feed title. |
get_the_title_rss()wp-includes/feed.php | Retrieves the current post title for the feed. |
WP_Customize_Setting::value()wp-includes/class-wp-customize-setting.php | Fetch the value of the setting. |
WP_Customize_Setting::js_value()wp-includes/class-wp-customize-setting.php | Sanitize the setting’s value for use in JavaScript. |
WP_Customize_Setting::sanitize()wp-includes/class-wp-customize-setting.php | Sanitize an input. |
set_site_transient()wp-includes/option.php | Sets/updates the value of a site transient. |
get_site_transient()wp-includes/option.php | Retrieves the value of a site transient. |
get_transient()wp-includes/option.php | Retrieves the value of a transient. |
set_transient()wp-includes/option.php | Sets/updates the value of a transient. |
wp_load_alloptions()wp-includes/option.php | Loads and caches all autoloaded options, if available or all options. |
update_option()wp-includes/option.php | Updates the value of an option that was already added. |
add_option()wp-includes/option.php | Adds a new option. |
get_option()wp-includes/option.php | Retrieves an option value based on an option name. |
WP_User_Query::prepare_query()wp-includes/class-wp-user-query.php | Prepares the query variables. |
WP_User_Query::query()wp-includes/class-wp-user-query.php | Executes the query, with the current variables. |
wp_update_user()wp-includes/user.php | Updates a user in the database. |
wp_get_user_contact_methods()wp-includes/user.php | Sets up the user contact methods. |
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. |
username_exists()wp-includes/user.php | Determines whether the given username exists. |
email_exists()wp-includes/user.php | Determines whether the given email exists. |
validate_username()wp-includes/user.php | Checks whether a username is valid. |
wp_insert_user()wp-includes/user.php | Inserts a user into the database. |
get_blogs_of_user()wp-includes/user.php | Gets the sites a user belongs to. |
count_users()wp-includes/user.php | Counts number of users who have each of the user roles. |
wp_dropdown_users()wp-includes/user.php | Creates dropdown HTML content of users. |
sanitize_user_field()wp-includes/user.php | Sanitizes user field based on context. |
wp_signon()wp-includes/user.php | Authenticates and logs a user in with ‘remember’ capability. |
wp_authenticate_username_password()wp-includes/user.php | Authenticates a user, confirming the username and password are valid. |
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. |
count_user_posts()wp-includes/user.php | Gets the number of posts a user has written. |
get_user_option()wp-includes/user.php | Retrieves user option that can be either per Site or per Network. |
wp_list_bookmarks()wp-includes/bookmark-template.php | Retrieves or echoes all of the bookmarks. |
get_query_template()wp-includes/template.php | Retrieves path to a template. |
WP_Image_Editor_GD::_save()wp-includes/class-wp-image-editor-gd.php | |
Walker_Nav_Menu::start_el()wp-includes/class-walker-nav-menu.php | Starts the element output. |
has_post_thumbnail()wp-includes/post-thumbnail-template.php | Determines whether a post has an image attached. |
get_post_thumbnail_id()wp-includes/post-thumbnail-template.php | Retrieves the post thumbnail ID. |
get_the_post_thumbnail()wp-includes/post-thumbnail-template.php | Retrieves the post thumbnail. |
Walker_Nav_Menu::start_lvl()wp-includes/class-walker-nav-menu.php | Starts the list before the elements are added. |
Walker_PageDropdown::start_el()wp-includes/class-walker-page-dropdown.php | Starts the element output. |
wp_nav_menu()wp-includes/nav-menu-template.php | Displays a navigation menu. |
Walker_Page::start_el()wp-includes/class-walker-page.php | Outputs the beginning of the current element in the tree. |
wp_get_attachment_link()wp-includes/post-template.php | Retrieves an attachment page link using an image or icon, if possible. |
prepend_attachment()wp-includes/post-template.php | Wraps attachment in paragraph tag before content. |
get_the_password_form()wp-includes/post-template.php | Retrieves protected post password form content. |
wp_post_revision_title_expanded()wp-includes/post-template.php | Retrieves formatted date timestamp of a revision (linked to that revisions’s page). |
post_password_required()wp-includes/post-template.php | Determines whether the post requires password and whether a correct password has been provided. |
wp_link_pages()wp-includes/post-template.php | The formatted output of a list of pages. |
wp_dropdown_pages()wp-includes/post-template.php | Retrieves or displays a list of pages as a dropdown (select list). |
wp_list_pages()wp-includes/post-template.php | Retrieves or displays a list of pages (or hierarchical post type items) in list (li) format. |
wp_page_menu()wp-includes/post-template.php | Displays or retrieves a list of pages with an optional home link. |
get_the_guid()wp-includes/post-template.php | Retrieves the Post Global Unique Identifier (guid). |
the_content()wp-includes/post-template.php | Displays the post content. |
get_the_content()wp-includes/post-template.php | Retrieves the post content. |
the_excerpt()wp-includes/post-template.php | Displays the post excerpt. |
get_the_excerpt()wp-includes/post-template.php | Retrieves the post excerpt. |
get_post_class()wp-includes/post-template.php | Retrieves an array of the class names for the post container element. |
get_body_class()wp-includes/post-template.php | Retrieves an array of the class names for the body element. |
get_the_title()wp-includes/post-template.php | Retrieves the post title. |
the_guid()wp-includes/post-template.php | Displays the Post Global Unique Identifier (guid). |
get_media_embedded_in_content()wp-includes/media.php | Checks the HTML content for an audio, video, object, embed, or iframe tags. |
get_post_galleries()wp-includes/media.php | Retrieves galleries from the passed post’s content. |
get_post_gallery()wp-includes/media.php | Checks a specified post’s content for gallery and, if present, return the first |
wp_max_upload_size()wp-includes/media.php | Determines the maximum upload size allowed in php.ini. |
wp_get_image_editor()wp-includes/media.php | Returns a WP_Image_Editor instance and loads file into it. |
wp_plupload_default_settings()wp-includes/media.php | Prints default Plupload arguments. |
wp_prepare_attachment_for_js()wp-includes/media.php | Prepares an attachment post object for JS, where it is expected to be JSON-encoded and fit into an Attachment model. |
wp_enqueue_media()wp-includes/media.php | Enqueues all scripts, styles, settings, and templates necessary to use all media JS APIs. |
get_attached_media()wp-includes/media.php | Retrieves media attached to the passed post. |
wp_embed_defaults()wp-includes/embed.php | Creates default array of embed parameters. |
wp_maybe_load_embeds()wp-includes/embed.php | Determines if default embed handlers should be loaded. |
wp_embed_handler_audio()wp-includes/embed.php | Audio embed handler callback. |
wp_embed_handler_video()wp-includes/embed.php | Video embed handler callback. |
wp_get_video_extensions()wp-includes/media.php | Returns a filtered list of supported video formats. |
wp_video_shortcode()wp-includes/media.php | Builds the Video shortcode output. |
gallery_shortcode()wp-includes/media.php | Builds the Gallery shortcode output. |
wp_playlist_shortcode()wp-includes/media.php | Builds the Playlist shortcode output. |
wp_mediaelement_fallback()wp-includes/media.php | Provides a No-JS Flash fallback as a last resort for audio / video. |
wp_get_audio_extensions()wp-includes/media.php | Returns a filtered list of supported audio formats. |
wp_get_attachment_id3_keys()wp-includes/media.php | Returns useful keys to use to lookup data from an attachment’s stored metadata. |
wp_audio_shortcode()wp-includes/media.php | Builds the Audio shortcode output. |
get_image_tag()wp-includes/media.php | Gets an img tag for an image attachment, scaling it down if requested. |
wp_constrain_dimensions()wp-includes/media.php | Calculates the new dimensions for a down-sampled image. |
image_resize_dimensions()wp-includes/media.php | Retrieves calculated resize dimensions for use in WP_Image_Editor. |
image_get_intermediate_size()wp-includes/media.php | Retrieves the image’s intermediate size (resized) path, width, and height. |
get_intermediate_image_sizes()wp-includes/media.php | Gets the available intermediate image size names. |
wp_get_attachment_image_src()wp-includes/media.php | Retrieves an image to represent an attachment. |
wp_get_attachment_image()wp-includes/media.php | Gets an HTML img element representing an image attachment. |
img_caption_shortcode()wp-includes/media.php | Builds the Caption shortcode output. |
image_downsize()wp-includes/media.php | Scales an image to fit a particular size (such as ‘thumb’ or ‘medium’). |
image_constrain_size_for_editor()wp-includes/media.php | Scales down the default size of an image. |
wp_mime_type_icon()wp-includes/post.php | Retrieves the icon for a MIME type or attachment. |
get_lastpostdate()wp-includes/post.php | Retrieves the most recent time that a post on the site was published. |
get_lastpostmodified()wp-includes/post.php | Gets the most recent time that a post on the site was modified. |
wp_delete_attachment()wp-includes/post.php | Trashes or deletes an attachment. |
wp_get_attachment_metadata()wp-includes/post.php | Retrieves attachment metadata for attachment ID. |
wp_update_attachment_metadata()wp-includes/post.php | Updates metadata for an attachment. |
wp_get_attachment_url()wp-includes/post.php | Retrieves the URL for an attachment. |
wp_get_attachment_thumb_url()wp-includes/post.php | Retrieves URL for an attachment thumbnail. |
wp_get_attachment_thumb_file()wp-includes/deprecated.php | Retrieves thumbnail for an attachment. |
get_enclosed()wp-includes/post.php | Retrieves enclosures already enclosed for a post. |
get_pung()wp-includes/post.php | Retrieves URLs already pinged for a post. |
get_to_ping()wp-includes/post.php | Retrieves URLs that need to be pinged. |
get_page_uri()wp-includes/post.php | Builds the URI path for a page. |
get_pages()wp-includes/post.php | Retrieves an array of pages (or hierarchical post type items). |
wp_unique_post_slug()wp-includes/post.php | Computes a unique slug for the post, when given the desired slug and some post details. |
wp_set_post_categories()wp-includes/post.php | Sets categories for a post. |
add_ping()wp-includes/post.php | Adds a URL to those already pinged. |
wp_insert_post()wp-includes/post.php | Inserts or update a post. |
get_post_mime_types()wp-includes/post.php | Gets default post mime types. |
wp_delete_post()wp-includes/post.php | Trashes or deletes a post or page. |
wp_trash_post()wp-includes/post.php | Moves a post or page to the Trash |
wp_untrash_post()wp-includes/post.php | Restores a post from the Trash. |
is_sticky()wp-includes/post.php | Determines whether a post is sticky. |
sanitize_post_field()wp-includes/post.php | Sanitizes a post field based on context. |
wp_count_posts()wp-includes/post.php | Counts number of posts of a post type and if user has permissions to view. |
wp_count_attachments()wp-includes/post.php | Counts number of attachments for the mime type(s). |
get_post_type_labels()wp-includes/post.php | Builds an object with all post type labels out of a post type object. |
get_post_status()wp-includes/post.php | Retrieves the post status based on the post ID. |
get_attached_file()wp-includes/post.php | Retrieves attached file path based on attachment ID. |
update_attached_file()wp-includes/post.php | Updates attachment file path based on attachment ID. |
_wp_relative_upload_path()wp-includes/post.php | Returns relative path to an uploaded file. |
WP_Rewrite::mod_rewrite_rules()wp-includes/class-wp-rewrite.php | Retrieves mod_rewrite-formatted rewrite rules to write to .htaccess. |
WP_Rewrite::iis7_url_rewrite_rules()wp-includes/class-wp-rewrite.php | Retrieves IIS7 URL Rewrite formatted rewrite rules to write to web.config file. |
WP_Rewrite::flush_rules()wp-includes/class-wp-rewrite.php | Removes rewrite rules and then recreate rewrite rules. |
WP_Rewrite::rewrite_rules()wp-includes/class-wp-rewrite.php | Constructs rewrite matches and queries from permalink structure. |
url_to_postid()wp-includes/rewrite.php | Examines a URL and try to determine the post ID it represents. |
redirect_guess_404_permalink()wp-includes/canonical.php | Attempts to guess the correct URL for a 404 request based on query vars. |
redirect_canonical()wp-includes/canonical.php | Redirects incoming links to the proper URL based on the site url. |
wp_revisions_to_keep()wp-includes/revision.php | Determines how many revisions to retain for a given post. |
_wp_post_revision_fields()wp-includes/revision.php | Determines which fields of posts are to be saved in revisions. |
wp_save_post_revision()wp-includes/revision.php | Creates a revision for the current version of a post. |
get_space_used()wp-includes/ms-functions.php | Returns the space used by the current site. |
get_space_allowed()wp-includes/ms-functions.php | Returns the upload quota for the current blog. |
wp_is_large_network()wp-includes/ms-functions.php | Determines whether or not we have a large network. |
wp_maybe_update_network_site_counts()wp-includes/ms-functions.php | Updates the count of sites for the current network. |
wp_maybe_update_network_user_counts()wp-includes/ms-functions.php | Updates the network-wide users count. |
wpmu_welcome_user_notification()wp-includes/ms-functions.php | Notifies a user that their account activation has been successful. |
maybe_redirect_404()wp-includes/ms-functions.php | Corrects 404 redirects when NOBLOGREDIRECT is defined. |
recurse_dirsize()wp-includes/functions.php | Gets the size of a directory recursively. |
newblog_notify_siteadmin()wp-includes/ms-functions.php | Notifies the network admin that a new site has been activated. |
newuser_notify_siteadmin()wp-includes/ms-functions.php | Notifies the network admin that a new user has been activated. |
domain_exists()wp-includes/ms-functions.php | Checks whether a site name is already taken. |
wpmu_welcome_notification()wp-includes/ms-functions.php | Notifies the site administrator that their site activation was successful. |
is_email_address_unsafe()wp-includes/ms-functions.php | Checks an email address against a list of banned domains. |
wpmu_signup_blog()wp-includes/ms-functions.php | Records site signup information for future activation. |
wpmu_signup_user()wp-includes/ms-functions.php | Records user signup information for future activation. |
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. |
wpmu_signup_blog_notification()wp-includes/ms-functions.php | 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. |
wpmu_signup_user_notification()wp-includes/ms-functions.php | 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. |
sanitize_bookmark_field()wp-includes/bookmark.php | Sanitizes a bookmark field. |
add_user_to_blog()wp-includes/ms-functions.php | Adds a user to a blog, along with specifying the user’s role. |
WP_HTTP_IXR_Client::query()wp-includes/class-wp-http-ixr-client.php | |
get_bookmarks()wp-includes/bookmark.php | Retrieves the list of bookmarks. |
get_site_by_path()wp-includes/ms-load.php | Retrieves the closest matching site object by its domain and path. |
graceful_fail()wp-includes/ms-deprecated.php | Deprecated functionality to gracefully fail. |
ms_site_check()wp-includes/ms-load.php | Checks status of current blog. |
WP_Scripts::do_item()wp-includes/class-wp-scripts.php | Processes a script dependency. |
WP_Scripts::all_deps()wp-includes/class-wp-scripts.php | Determines script dependencies. |
get_the_author_meta()wp-includes/author-template.php | Retrieves the requested data of the author of the current post. |
the_author_meta()wp-includes/author-template.php | Outputs the field from the user’s DB object. Defaults to current post’s author. |
get_the_author_link()wp-includes/author-template.php | Retrieves either author’s link or author’s name. |
get_author_posts_url()wp-includes/author-template.php | Retrieves the URL to the author page for the user with the ID provided. |
wp_list_authors()wp-includes/author-template.php | Lists all the authors of the site, with several options available. |
is_multi_author()wp-includes/author-template.php | Determines whether this site has more than one author. |
get_the_author()wp-includes/author-template.php | Retrieves the author of the current post. |
get_the_modified_author()wp-includes/author-template.php | Retrieves the author who last edited the current post. |
get_blog_option()wp-includes/ms-blogs.php | Retrieves option value for a given blog id based on name of option. |
wp_setup_nav_menu_item()wp-includes/nav-menu.php | Decorates a menu item object with the shared navigation menu item properties. |
has_nav_menu()wp-includes/nav-menu.php | Determines whether a registered nav menu location has a menu assigned to it. |
wp_get_nav_menus()wp-includes/nav-menu.php | Returns all navigation menu objects. |
wp_get_nav_menu_items()wp-includes/nav-menu.php | Retrieves all menu items of a navigation menu. |
wp_get_nav_menu_object()wp-includes/nav-menu.php | Returns a navigation menu object. |
wp_xmlrpc_server::mt_supportedTextFilters()wp-includes/class-wp-xmlrpc-server.php | Retrieves an empty array because we don’t support per-post text filters. |
wp_xmlrpc_server::pingback_ping()wp-includes/class-wp-xmlrpc-server.php | Retrieves a pingback and registers it. |
wp_xmlrpc_server::pingback_error()wp-includes/class-wp-xmlrpc-server.php | Sends a pingback error based on the given error code and message. |
wp_xmlrpc_server::mw_newMediaObject()wp-includes/class-wp-xmlrpc-server.php | Uploads a file, following your settings. |
wp_xmlrpc_server::wp_getPostType()wp-includes/class-wp-xmlrpc-server.php | Retrieves a post type. |
wp_xmlrpc_server::wp_getPostTypes()wp-includes/class-wp-xmlrpc-server.php | Retrieves post types. |
wp_xmlrpc_server::wp_getRevisions()wp-includes/class-wp-xmlrpc-server.php | Retrieves revisions for a specific post. |
wp_xmlrpc_server::wp_newComment()wp-includes/class-wp-xmlrpc-server.php | Creates a new comment. |
wp_xmlrpc_server::wp_getPosts()wp-includes/class-wp-xmlrpc-server.php | Retrieves posts. |
wp_xmlrpc_server::wp_getTaxonomy()wp-includes/class-wp-xmlrpc-server.php | Retrieves a taxonomy. |
wp_xmlrpc_server::wp_getTaxonomies()wp-includes/class-wp-xmlrpc-server.php | Retrieves all taxonomies. |
wp_xmlrpc_server::wp_getUser()wp-includes/class-wp-xmlrpc-server.php | Retrieves a user. |
wp_xmlrpc_server::wp_getUsers()wp-includes/class-wp-xmlrpc-server.php | Retrieves users. |
wp_xmlrpc_server::wp_getProfile()wp-includes/class-wp-xmlrpc-server.php | Retrieves information about the requesting user. |
wp_xmlrpc_server::_prepare_page()wp-includes/class-wp-xmlrpc-server.php | Prepares page data for return in an XML-RPC object. |
wp_xmlrpc_server::_prepare_comment()wp-includes/class-wp-xmlrpc-server.php | Prepares comment data for return in an XML-RPC object. |
wp_xmlrpc_server::_prepare_user()wp-includes/class-wp-xmlrpc-server.php | Prepares user data for return in an XML-RPC object. |
wp_xmlrpc_server::_insert_post()wp-includes/class-wp-xmlrpc-server.php | Helper method for wp_newPost() and wp_editPost(), containing shared logic. |
wp_xmlrpc_server::wp_getPost()wp-includes/class-wp-xmlrpc-server.php | Retrieves a post. |
wp_xmlrpc_server::_prepare_taxonomy()wp-includes/class-wp-xmlrpc-server.php | Prepares taxonomy data for return in an XML-RPC object. |
wp_xmlrpc_server::_prepare_term()wp-includes/class-wp-xmlrpc-server.php | Prepares term data for return in an XML-RPC object. |
wp_xmlrpc_server::_prepare_post()wp-includes/class-wp-xmlrpc-server.php | Prepares post data for return in an XML-RPC object. |
wp_xmlrpc_server::_prepare_post_type()wp-includes/class-wp-xmlrpc-server.php | Prepares post data for return in an XML-RPC object. |
wp_xmlrpc_server::_prepare_media_item()wp-includes/class-wp-xmlrpc-server.php | Prepares media item data for return in an XML-RPC object. |
wp_xmlrpc_server::__construct()wp-includes/class-wp-xmlrpc-server.php | Registers all of the XMLRPC methods that XMLRPC server understands. |
wp_xmlrpc_server::login()wp-includes/class-wp-xmlrpc-server.php | Logs user in. |
wp_xmlrpc_server::initialise_blog_option_info()wp-includes/class-wp-xmlrpc-server.php | Sets up blog options property. |
wpdb::query()wp-includes/class-wpdb.php | Performs a database query, using current database connection. |
wpdb::set_sql_mode()wp-includes/class-wpdb.php | Changes the current SQL mode, and ensures its WordPress compatibility. |
WP_Widget::display_callback()wp-includes/class-wp-widget.php | Generates the actual widget content (Do NOT override). |
WP_Widget::update_callback()wp-includes/class-wp-widget.php | Handles changed settings (Do NOT override). |
WP_Widget::form_callback()wp-includes/class-wp-widget.php | Generates the widget control form (Do NOT override). |
dynamic_sidebar()wp-includes/widgets.php | Display dynamic sidebar. |
is_active_sidebar()wp-includes/widgets.php | Determines whether a sidebar contains widgets. |
wp_get_sidebars_widgets()wp-includes/widgets.php | Retrieve full list of sidebars and their widget instance IDs. |
the_widget()wp-includes/widgets.php | Output an arbitrary widget as a template tag. |
register_sidebar()wp-includes/widgets.php | Builds the definition for a single sidebar and returns the ID. |
get_post_reply_link()wp-includes/comment-template.php | Retrieves HTML content for reply to post link. |
get_cancel_comment_reply_link()wp-includes/comment-template.php | Retrieves HTML content for cancel comment reply link. |
get_comment_id_fields()wp-includes/comment-template.php | Retrieves hidden input HTML for replying to comments. |
wp_list_comments()wp-includes/comment-template.php | Displays a list of comments. |
comment_form()wp-includes/comment-template.php | Outputs a complete commenting form for use within a template. |
get_trackback_url()wp-includes/comment-template.php | Retrieves the current post’s trackback URL. |
comments_open()wp-includes/comment-template.php | Determines whether the current post is open for comments. |
pings_open()wp-includes/comment-template.php | Determines whether the current post is open for pings. |
comments_template()wp-includes/comment-template.php | Loads the comment template specified in $file. |
comments_popup_link()wp-includes/comment-template.php | Displays the link to the comments for the current post ID. |
get_comment_reply_link()wp-includes/comment-template.php | Retrieves HTML content for reply to comment link. |
get_comment_link()wp-includes/comment-template.php | Retrieves the link to a given comment. |
get_comments_link()wp-includes/comment-template.php | Retrieves the link to the current post comments. |
get_comments_number()wp-includes/comment-template.php | Retrieves the amount of comments a post has. |
get_comment_text()wp-includes/comment-template.php | Retrieves the text of the current comment. |
comment_text()wp-includes/comment-template.php | Displays the text of the current comment. |
get_comment_time()wp-includes/comment-template.php | Retrieves the comment time of the current comment. |
get_comment_type()wp-includes/comment-template.php | Retrieves the comment type of the current comment. |
comment_author_url()wp-includes/comment-template.php | Displays the URL of the author of the current comment, not linked. |
get_comment_author_url_link()wp-includes/comment-template.php | Retrieves the HTML link of the URL of the author of the current comment. |
get_comment_class()wp-includes/comment-template.php | Returns the classes for the comment div as an array. |
get_comment_date()wp-includes/comment-template.php | Retrieves the comment date of the current comment. |
get_comment_excerpt()wp-includes/comment-template.php | Retrieves the excerpt of the given comment. |
comment_excerpt()wp-includes/comment-template.php | Displays the excerpt of the current comment. |
get_comment_ID()wp-includes/comment-template.php | Retrieves the comment ID of the current comment. |
get_comment_author()wp-includes/comment-template.php | Retrieves the author of the current comment. |
comment_author()wp-includes/comment-template.php | Displays the author of the current comment. |
get_comment_author_email()wp-includes/comment-template.php | Retrieves the email of the author of the current comment. |
comment_author_email()wp-includes/comment-template.php | Displays the email of the author of the current global $comment. |
get_comment_author_email_link()wp-includes/comment-template.php | Returns the HTML email link to the author of the current comment. |
get_comment_author_link()wp-includes/comment-template.php | Retrieves the HTML link to the URL of the author of the current comment. |
get_comment_author_IP()wp-includes/comment-template.php | Retrieves the IP address of the author of the current comment. |
get_comment_author_url()wp-includes/comment-template.php | Retrieves the URL of the author of the current comment, not linked. |
WP_Customize_Widgets::capture_filter_pre_get_option()wp-includes/class-wp-customize-widgets.php | Pre-filters captured option values before retrieving. |
WP_Customize_Widgets::get_setting_args()wp-includes/class-wp-customize-widgets.php | Retrieves common arguments to supply when constructing a Customizer setting. |
WP_Customize_Widgets::customize_register()wp-includes/class-wp-customize-widgets.php | Registers Customizer settings and controls for all sidebars and widgets. |
WP_Customize_Widgets::is_wide_widget()wp-includes/class-wp-customize-widgets.php | Determines whether the widget is considered “wide”. |
print_head_scripts()wp-includes/script-loader.php | Prints the script queue in the HTML head on admin pages. |
print_footer_scripts()wp-includes/script-loader.php | Prints the scripts that were queued for the footer or too late for the HTML head. |
print_admin_styles()wp-includes/script-loader.php | Prints the styles queue in the HTML head on admin pages. |
print_late_styles()wp-includes/script-loader.php | Prints the styles that were queued too late for the HTML head. |
wp_default_scripts()wp-includes/script-loader.php | Registers all WordPress scripts. |
_close_comments_for_old_posts()wp-includes/comment.php | Closes comments on old posts on the fly, without any extra DB queries. Hooked to the_posts. |
_close_comments_for_old_post()wp-includes/comment.php | Closes comments on an old post. Hooked to comments_open and pings_open. |
wp_update_comment()wp-includes/comment.php | Updates an existing comment in the database. |
wp_new_comment()wp-includes/comment.php | Adds a new comment to the database. |
wp_update_comment_count_now()wp-includes/comment.php | Updates the comment count for the post. |
do_trackbacks()wp-includes/comment.php | Performs trackbacks. |
pingback()wp-includes/comment.php | Pings back the links found in a post. |
wp_get_current_commenter()wp-includes/comment.php | Gets current commenter’s name, email, and URL. |
wp_filter_comment()wp-includes/comment.php | Filters and sanitizes comment data. |
get_page_of_comment()wp-includes/comment.php | Calculates what page number a comment will appear on for comment paging. |
wp_count_comments()wp-includes/comment.php | Retrieves the total comment counts for the whole site or a single post. |
wp_set_comment_cookies()wp-includes/comment.php | Sets the cookies used to store an unauthenticated commentator’s identity. Typically used to recall previous comments by this commentator that are still held in moderation. |
sanitize_comment_cookies()wp-includes/comment.php | Sanitizes the cookies sent to the user already. |
wp_allow_comment()wp-includes/comment.php | Validates whether this comment is allowed to be made. |
is_protected_meta()wp-includes/meta.php | Determines whether a meta key is considered protected. |
sanitize_meta()wp-includes/meta.php | Sanitizes meta value. |
register_meta()wp-includes/meta.php | Registers a meta key. |
check_comment()wp-includes/comment.php | Checks whether a comment passes internal checks to be allowed to add. |
get_comment()wp-includes/comment.php | Retrieves comment data given a comment ID or comment object. |
delete_metadata()wp-includes/meta.php | Deletes metadata for the specified object. |
metadata_exists()wp-includes/meta.php | Determines if a meta field with the given key exists for the given object ID. |
get_metadata_by_mid()wp-includes/meta.php | Retrieves metadata by meta ID. |
update_metadata_by_mid()wp-includes/meta.php | Updates metadata by meta ID. |
delete_metadata_by_mid()wp-includes/meta.php | Deletes metadata by meta ID. |
update_meta_cache()wp-includes/meta.php | Updates the metadata cache for the specified objects. |
_WP_Editors::wp_link_query()wp-includes/class-wp-editor.php | Performs post queries for internal linking. |
add_metadata()wp-includes/meta.php | Adds metadata for the specified object. |
update_metadata()wp-includes/meta.php | 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_Editors::editor_settings()wp-includes/class-wp-editor.php | |
_WP_Editors::wp_mce_translation()wp-includes/class-wp-editor.php | Translates the default TinyMCE strings and returns them as JSON encoded object ready to be loaded with tinymce.addI18n(), or as JS snippet that should run after tinymce.js is loaded. |
_WP_Editors::parse_settings()wp-includes/class-wp-editor.php | Parse default arguments for the editor instance. |
_WP_Editors::editor()wp-includes/class-wp-editor.php | Outputs the HTML for a single instance of the editor. |
wp_print_media_templates()wp-includes/media-template.php | Prints the templates used in the media manager. |
Echo after Filtering
Get Filtered
Additional Filter Arguments
For example:
With the_title filter
One fundamental argument that is easy to miss is specifying the number of arguments. Most filters have only one argument and so people drop the argument from
add_filter
.The
3
, below is very important.Otherwise you get the following error, such as this StackOverflow question(http://stackoverflow.com/questions/24198086/missing-argument-2-for-the-function-in-wordpress):
Missing argument 2 for example_callback()
Something that is not obvious from reading this function’s definition and description is that if
add_filter( 'filter_name', 'filter_function' )
is never called/executed in code, the use ofapply_filters( 'filter_name', $value )
will return the value of$value
by default.I noticed a call to
apply_filters( 'my_filter', ... )
in my theme’sfunctions.php
file and couldn’t find a similaradd_filter( 'my_filter', ... )
call anywhere else and was confused about this (I’m still wrapping my head around filters/hooks).More detail on this can be seen in the example found on this page: https://docs.presscustomizr.com/article/26-wordpress-actions-filters-and-hooks-a-guide-for-non-developers at the section about Filters.
The second line in the description is technically incorrect:
“It is possible to create new filter hooks by simply calling this function…”
apply_filters
doesn’t create filter hooks. Read for https://stackoverflow.com/q/72161547/3429430 detailsIf someone would like to give permission to other developers to change their plugin or theme function value without touching the core code then should use apply_filters
For example –
Now how 3rd party developer will work using this hook name? Using the add_filter developer can change the $value variable.
Please follow below –
Now the result will show “Hi Jack!” instead of “Hello world!” and it has changed the $value variable dynamically without touching the core file.