apply_filters( string $tag, mixed $value )
Calls the callback functions that have been added to a filter hook.
Description #Description
The callback functions attached to the filter hook are invoked by calling this function. This function can be used to create a new filter hook by simply calling this function with the name of the new hook specified using the $tag 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 #Parameters
- $tag
-
(string) (Required) The name of the filter hook.
- $value
-
(mixed) (Required) The value to filter.
- $args
-
(mixed) (Required) Additional parameters to pass to the callback functions.
Return #Return
(mixed) The filtered value after all hooked functions are applied to it.
Source #Source
File: wp-includes/plugin.php
function apply_filters( $tag, $value ) {
global $wp_filter, $wp_current_filter;
$args = func_get_args();
// Do 'all' actions first.
if ( isset( $wp_filter['all'] ) ) {
$wp_current_filter[] = $tag;
_wp_call_all_hook( $args );
}
if ( ! isset( $wp_filter[ $tag ] ) ) {
if ( isset( $wp_filter['all'] ) ) {
array_pop( $wp_current_filter );
}
return $value;
}
if ( ! isset( $wp_filter['all'] ) ) {
$wp_current_filter[] = $tag;
}
// Don't pass the tag name to WP_Hook.
array_shift( $args );
$filtered = $wp_filter[ $tag ]->apply_filters( $value, $args );
array_pop( $wp_current_filter );
return $filtered;
}
Expand full source code Collapse full source code View on Trac
Changelog #Changelog
| Version | Description |
|---|---|
| 0.71 | Introduced. |
Related #Related
Uses #Uses
| Uses | Description |
|---|---|
| wp-includes/plugin.php: _wp_call_all_hook() |
Call the ‘all’ hook, which will process the functions hooked into it. |
Used By #Used By
| Used By | Description |
|---|---|
| wp-includes/wp-db.php: wpdb::log_query() |
Logs query data. |
| wp-includes/class-wp-image-editor.php: WP_Image_Editor::maybe_exif_rotate() |
Check if a JPEG image has EXIF Orientation tag and rotate it if needed. |
| wp-includes/functions.php: wp_date() |
Retrieves the date, in localized format. |
| wp-includes/post.php: wp_get_original_image_path() |
Retrieves the path to an uploaded image file. |
| wp-includes/post.php: wp_get_original_image_url() |
Retrieve the URL to an original attachment image. |
| wp-admin/includes/template.php: get_post_states() |
Function to retrieve an array of post states from a post. |
| wp-admin/includes/image.php: wp_get_missing_image_subsizes() |
Compare the existing image sub-sizes (as saved in the attachment meta) to the currently registered image sub-sizes, and return the difference. |
| wp-admin/includes/image.php: wp_update_image_subsizes() |
If any of the currently registered image sub-sizes are missing, create them and update the image meta data. |
| wp-admin/includes/image.php: wp_create_image_subsizes() |
Creates image sub-sizes, adds the new data to the image meta |
| wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php: WP_Privacy_Data_Removal_Requests_List_Table::column_email() |
Actions column. |
| wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php: WP_Privacy_Data_Removal_Requests_List_Table::column_next_steps() |
Next steps column. |
| wp-admin/includes/class-wp-ms-sites-list-table.php: WP_MS_Sites_List_Table::site_states() |
Maybe output comma-separated site states. |
| wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php: WP_Privacy_Data_Export_Requests_List_Table::column_email() |
Actions column. |
| wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php: WP_Privacy_Data_Export_Requests_List_Table::column_next_steps() |
Displays the next steps column. |
| wp-includes/class-wp-recovery-mode.php: WP_Recovery_Mode::get_email_rate_limit() |
Gets the rate limit between sending new recovery mode email links. |
| wp-includes/class-wp-recovery-mode.php: WP_Recovery_Mode::get_link_ttl() |
Gets the number of seconds the recovery mode link is valid for. |
| wp-includes/load.php: wp_is_jsonp_request() |
Checks whether current request is a JSONP request, or is expecting a JSONP response. |
| wp-includes/load.php: is_protected_endpoint() |
Determines whether we are currently on an endpoint that should be protected against WSODs. |
| wp-includes/load.php: is_protected_ajax_action() |
Determines whether we are currently handling an AJAX action that should be protected against WSODs. |
| wp-includes/feed.php: get_feed_build_date() |
Get the timestamp of the most recently modified post from WP_Query. |
| wp-includes/class-wp-recovery-mode-email-service.php: WP_Recovery_Mode_Email_Service::send_recovery_mode_email() |
Sends the Recovery Mode email to the site admin email address. |
| wp-includes/class-wp-recovery-mode-cookie-service.php: WP_Recovery_Mode_Cookie_Service::set_cookie() |
Sets the recovery mode cookie. |
| wp-includes/class-wp-recovery-mode-cookie-service.php: WP_Recovery_Mode_Cookie_Service::validate_cookie() |
Validates the recovery mode cookie. |
| wp-includes/class-wp-recovery-mode-link-service.php: WP_Recovery_Mode_Link_Service::get_recovery_mode_begin_url() |
Gets a URL to begin recovery mode. |
| wp-includes/error-protection.php: wp_is_fatal_error_handler_enabled() |
Checks whether the fatal error handler is enabled. |
| wp-includes/class-wp-fatal-error-handler.php: WP_Fatal_Error_Handler::display_default_error_template() |
Displays the default PHP error template. |
| wp-includes/class-wp-fatal-error-handler.php: WP_Fatal_Error_Handler::should_handle_error() |
Determines whether we are dealing with an error that WordPress should handle in order to protect the admin backend against WSODs. |
| wp-includes/embed.php: wp_filter_oembed_iframe_title_attribute() |
Filters the given oEmbed HTML to make sure iframes have a title attribute. |
| wp-includes/class-wp-query.php: WP_Query::generate_postdata() |
Generate post data. |
| wp-admin/includes/class-wp-debug-data.php: WP_Debug_Data::debug_data() |
Static function for generating site debug data when required. |
| wp-admin/includes/file.php: wp_trusted_keys() |
Retrieve the list of signing keys trusted by WordPress. |
| wp-admin/includes/class-wp-site-health.php: WP_Site_Health::get_test_rest_availability() |
Test if the REST API is accessible. |
| wp-admin/includes/class-wp-site-health.php: WP_Site_Health::get_tests() |
Return a set of tests that belong to the site status page. |
| wp-admin/includes/class-wp-site-health.php: WP_Site_Health::can_perform_loopback() |
Run a loopback test on our site. |
| wp-admin/includes/class-wp-site-health.php: WP_Site_Health::enqueue_scripts() |
Enqueues the site health scripts. |
| wp-admin/includes/class-wp-site-health.php: WP_Site_Health::get_test_php_extensions() |
Test if required PHP modules are installed on the host. |
| wp-admin/includes/class-wp-posts-list-table.php: WP_Posts_List_Table::formats_dropdown() |
Displays a formats drop-down for filtering items. |
| wp-admin/includes/class-wp-site-health-auto-updates.php: WP_Site_Health_Auto_Updates::test_accepts_dev_updates() |
Check if the install is using a development branch and can use nightly packages. |
| wp-admin/includes/class-wp-site-health-auto-updates.php: WP_Site_Health_Auto_Updates::test_accepts_minor_updates() |
Check if the site supports automatic minor updates. |
| wp-admin/includes/class-wp-site-health-auto-updates.php: WP_Site_Health_Auto_Updates::test_wp_version_check_attached() |
Check if updates are intercepted by a filter. |
| wp-admin/includes/class-wp-site-health-auto-updates.php: WP_Site_Health_Auto_Updates::test_filters_automatic_updater_disabled() |
Check if automatic updates are disabled by a filter. |
| wp-admin/includes/class-wp-site-health-auto-updates.php: WP_Site_Health_Auto_Updates::test_vcs_abspath() |
Check if WordPress is controlled by a VCS (Git, Subversion etc). |
| wp-includes/functions.php: wp_get_direct_php_update_url() |
Gets the URL for directly updating the PHP version the site is running on. |
| wp-includes/formatting.php: wp_targeted_link_rel_callback() |
Callback to add rel=”noreferrer noopener” string to HTML A element. |
| wp-includes/load.php: wp_using_themes() |
Determines whether the current request should use themes. |
| wp-includes/cron.php: wp_get_ready_cron_jobs() |
Retrieve cron jobs ready to be run. |
| wp-includes/cron.php: wp_get_scheduled_event() |
Retrieve a scheduled event. |
| wp-includes/ms-site.php: wp_initialize_site() |
Runs the initialization routine for a given site. |
| wp-includes/ms-site.php: wp_uninitialize_site() |
Runs the uninitialization routine for a given site. |
| wp-includes/ms-site.php: wp_is_site_initialized() |
Checks whether a site is initialized. |
| wp-includes/ms-site.php: wp_prepare_site_data() |
Prepares site data for insertion or update in the database. |
| wp-includes/functions.php: wp_get_update_php_url() |
Gets the URL to learn more about updating the PHP version the site is running on. |
| wp-includes/link-template.php: is_avatar_comment_type() |
Check if this comment type allows avatars to be retrieved. |
| wp-admin/includes/misc.php: wp_check_php_version() |
Checks if the user needs to update PHP. |
| wp-admin/includes/schema.php: populate_network_meta() |
Creates WordPress network meta and sets the default values. |
| wp-admin/includes/schema.php: populate_site_meta() |
Creates WordPress site meta and sets the default values. |
| wp-includes/l10n.php: load_script_translations() |
Loads the translation data for the given script handle and text domain. |
| wp-includes/kses.php: wp_kses_uri_attributes() |
Helper function listing HTML attributes containing a URL. |
| wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php: WP_REST_Themes_Controller::prepare_item_for_response() |
Prepares a single theme output for response. |
| wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php: WP_REST_Themes_Controller::get_collection_params() |
Retrieves the search params for the themes collection. |
| wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php: WP_REST_Autosaves_Controller::prepare_item_for_response() |
Prepares the revision for the REST response. |
| wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php: WP_REST_Revisions_Controller::prepare_items_query() |
Determines the allowed query_vars for a get_items() response and prepares them for WP_Query. |
| wp-includes/rest-api/search/class-wp-rest-post-search-handler.php: WP_REST_Post_Search_Handler::search_items() |
Searches the object type content for a given search request. |
| wp-includes/l10n.php: load_script_textdomain() |
Loads the script translated strings. |
| wp-includes/l10n.php: determine_locale() |
Determine the current locale desired for the request. |
| wp-includes/script-loader.php: wp_get_script_polyfill() |
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-includes/script-loader.php: wp_tinymce_inline_scripts() |
Adds inline scripts required for the TinyMCE in the block editor. |
| wp-includes/embed.php: get_oembed_response_data_for_url() |
Retrieves the oEmbed response data for a given URL. |
| wp-includes/general-template.php: wp_get_code_editor_settings() |
Generate and return code editor settings. |
| wp-includes/blocks.php: parse_blocks() |
Parses blocks out of a content string. |
| wp-includes/blocks.php: excerpt_remove_blocks() |
Parses blocks out of a content string, and renders those appropriate for the excerpt. |
| wp-includes/blocks.php: render_block() |
Renders a single block into a HTML string. |
| wp-admin/includes/post.php: use_block_editor_for_post_type() |
Return whether a post type is compatible with the block editor. |
| wp-admin/includes/post.php: get_block_categories() |
Returns all the block categories that will be shown in the block editor. |
| wp-admin/includes/post.php: the_block_editor_meta_boxes() |
Renders the meta boxes forms. |
| wp-admin/includes/post.php: use_block_editor_for_post() |
Return whether the post can be edited in the block editor. |
| wp-includes/meta.php: get_object_subtype() |
Returns the object subtype for a given object ID of a specific type. |
| wp-includes/comment.php: wp_comments_personal_data_eraser() |
Erases personal data associated with an email address from the comments table. |
| wp-includes/functions.php: wp_privacy_delete_old_export_files() |
Cleans up export files older than three days old. |
| wp-includes/functions.php: wp_privacy_exports_dir() |
Returns the directory used to store personal data export files. |
| wp-includes/functions.php: wp_privacy_exports_url() |
Returns the URL of the directory used to store personal data export files. |
| wp-includes/functions.php: wp_privacy_anonymize_data() |
Return uniform “anonymous” data by type. |
| wp-includes/user.php: wp_validate_user_request_key() |
Validate a user request by comparing the key with the request’s key. |
| wp-includes/user.php: _wp_privacy_send_request_confirmation_notification() |
Notify the site administrator via email when a request is confirmed. |
| wp-includes/user.php: _wp_privacy_send_erasure_fulfillment_notification() |
Notify the user when their erasure request is fulfilled. |
| wp-includes/user.php: _wp_privacy_account_request_confirmed_message() |
Return request confirmation message HTML. |
| wp-includes/user.php: wp_user_request_action_description() |
Get action description from the name and return a string. |
| wp-includes/user.php: wp_send_user_request() |
Send a confirmation request email to confirm an action. |
| wp-includes/link-template.php: get_the_privacy_policy_link() |
Returns the privacy policy link with formatting, when applicable. |
| wp-includes/link-template.php: get_privacy_policy_url() |
Retrieves the URL to the privacy policy page. |
| wp-admin/includes/class-wp-privacy-policy-content.php: WP_Privacy_Policy_Content::get_default_content() |
Return the default suggested privacy policy content. |
| wp-admin/includes/privacy-tools.php: wp_privacy_process_personal_data_export_page() |
Intercept personal data exporter page Ajax responses in order to assemble the personal data export file. |
| wp-admin/includes/privacy-tools.php: wp_privacy_send_personal_data_export_email() |
Send an email to the user with a link to the personal data export file |
| wp-admin/includes/privacy-tools.php: wp_privacy_process_personal_data_erasure_page() |
Mark erasure requests as completed after processing is finished. |
| wp-admin/includes/privacy-tools.php: _wp_personal_data_cleanup_requests() |
Cleans up failed and expired requests before displaying the list table. |
| wp-admin/includes/ajax-actions.php: wp_ajax_wp_privacy_export_personal_data() |
Ajax handler for exporting a user’s personal data. |
| wp-admin/includes/ajax-actions.php: wp_ajax_wp_privacy_erase_personal_data() |
Ajax handler for erasing personal data. |
| wp-includes/class-wp-network.php: WP_Network::get_main_site_id() |
Returns the main site ID for the network. |
| wp-includes/cron.php: wp_unschedule_hook() |
Unschedules all events attached to the hook. |
| wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::handle_load_themes_request() |
Load themes into the theme browsing/installation UI. |
| wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::trash_changeset_post() |
Trash or delete a changeset post. |
| wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::branching() |
Whether the changeset branching is allowed. |
| wp-includes/general-template.php: get_the_post_type_description() |
Retrieves the description for a post type archive. |
| wp-includes/nav-menu.php: wp_get_nav_menu_name() |
Returns the name of a navigation menu. |
| wp-includes/functions.php: wp_site_admin_email_change_notification() |
Send an email to the old site admin email address when the site admin email address changes. |
| wp-includes/widgets/class-wp-widget-media-gallery.php: WP_Widget_Media_Gallery::get_instance_schema() |
Get schema for properties of a widget instance (item). |
| wp-includes/widgets/class-wp-widget-custom-html.php: WP_Widget_Custom_HTML::widget() |
Outputs the content for the current Custom HTML widget instance. |
| wp-includes/ms-functions.php: update_network_option_new_admin_email() |
Send a confirmation request email when a change of network admin email address is attempted. |
| wp-includes/ms-functions.php: wp_network_admin_email_change_notification() |
Send an email to the old network admin email address when the network admin email address changes. |
| wp-admin/includes/misc.php: wp_admin_headers() |
Send a referrer policy header so referrers are not sent externally from administration screens. |
| wp-admin/includes/file.php: wp_get_plugin_file_editable_extensions() |
Get list of file extensions that are editable in plugins. |
| wp-admin/includes/file.php: wp_get_theme_file_editable_extensions() |
Get list of file extensions that are editable for a given theme. |
| wp-admin/includes/file.php: wp_edit_theme_plugin_file() |
Attempt to edit a file for a theme or plugin. |
| wp-includes/load.php: wp_doing_cron() |
Determines whether the current request is a WordPress cron request. |
| wp-includes/load.php: wp_is_file_mod_allowed() |
Determines whether file modifications are allowed. |
| wp-includes/class-wp-oembed-controller.php: WP_oEmbed_Controller::get_proxy_item() |
Callback for the proxy API endpoint. |
| wp-includes/widgets/class-wp-widget-media-audio.php: WP_Widget_Media_Audio::enqueue_preview_scripts() |
Enqueue preview scripts. |
| wp-includes/widgets/class-wp-widget-media-video.php: WP_Widget_Media_Video::enqueue_preview_scripts() |
Enqueue preview scripts. |
| wp-includes/widgets/class-wp-widget-media.php: WP_Widget_Media::get_instance_schema() |
Get schema for properties of a widget instance (item). |
| wp-includes/widgets/class-wp-widget-media.php: WP_Widget_Media::widget() |
Displays the widget on the front-end. |
| wp-includes/rest-api.php: rest_get_avatar_sizes() |
Retrieves the pixel sizes for avatars. |
| wp-includes/rest-api.php: create_initial_rest_routes() |
Registers default REST API routes. |
| wp-includes/load.php: wp_doing_ajax() |
Determines whether the current request is a WordPress Ajax request. |
| wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::get_allowed_urls() |
Get URLs allowed to be previewed. |
| wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::save_changeset_post() |
Save the post for the loaded changeset. |
| wp-includes/theme.php: get_theme_starter_content() |
Expand a theme’s starter content configuration using core-provided data. |
| wp-includes/theme.php: wp_update_custom_css_post() |
Update the |
| wp-includes/theme.php: wp_get_custom_css() |
Fetch the saved Custom CSS content for rendering. |
| wp-includes/theme.php: get_header_video_url() |
Retrieve header video URL for custom header. |
| wp-includes/theme.php: get_header_video_settings() |
Retrieve header video settings. |
| wp-includes/theme.php: is_header_video_active() |
Checks whether the custom header video is eligible to show on the current page. |
| wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php: WP_REST_Users_Controller::check_username() |
Check a username for the REST API. |
| wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php: WP_REST_Users_Controller::get_collection_params() |
Retrieves the query params for collections. |
| wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php: WP_REST_Users_Controller::prepare_item_for_response() |
Prepares a single user output for response. |
| wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php: WP_REST_Users_Controller::prepare_item_for_database() |
Prepares a single user for creation or update. |
| wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php: WP_REST_Users_Controller::get_items() |
Retrieves all users. |
| wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php: WP_REST_Revisions_Controller::prepare_excerpt_response() |
Checks the post excerpt and prepare it for single post output. |
| wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php: WP_REST_Revisions_Controller::prepare_item_for_response() |
Prepares the revision for the REST response. |
| wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php: WP_REST_Revisions_Controller::get_items() |
Gets a collection of revisions. |
| wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php: WP_REST_Attachments_Controller::prepare_item_for_response() |
Prepares a single attachment output for response. |
| wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php: WP_REST_Post_Statuses_Controller::prepare_item_for_response() |
Prepares a post status object for serialization. |
| wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php: WP_REST_Settings_Controller::get_item() |
Retrieves the settings. |
| wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php: WP_REST_Settings_Controller::update_item() |
Updates settings for the settings object. |
| wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php: WP_REST_Terms_Controller::prepare_item_for_response() |
Prepares a single term output for response. |
| wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php: WP_REST_Terms_Controller::get_collection_params() |
Retrieves the query params for collections. |
| wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php: WP_REST_Terms_Controller::prepare_item_for_database() |
Prepares a single term for create or update. |
| wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php: WP_REST_Terms_Controller::get_items() |
Retrieves terms associated with a taxonomy. |
| wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::get_collection_params() |
Retrieves the query params for the posts collection. |
| wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::prepare_item_for_response() |
Prepares a single post output for response. |
| wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::prepare_items_query() |
Determines the allowed query_vars for a get_items() response and prepares them for WP_Query. |
| wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::prepare_item_for_database() |
Prepares a single post for create or update. |
| wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::delete_item() |
Deletes a single post. |
| wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::get_items() |
Retrieves a collection of posts. |
| wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php: WP_REST_Taxonomies_Controller::prepare_item_for_response() |
Prepares a taxonomy object for serialization. |
| wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php: WP_REST_Post_Types_Controller::prepare_item_for_response() |
Prepares a post type object for serialization. |
| wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::get_collection_params() |
Retrieves the query params for collections. |
| wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::prepare_item_for_response() |
Prepares a single comment output for response. |
| wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::prepare_item_for_database() |
Prepares a single comment to be inserted into the database. |
| wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::delete_item() |
Deletes a comment. |
| wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::create_item_permissions_check() |
Checks if a given request has access to create a comment. |
| wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::create_item() |
Creates a comment. |
| wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::get_items() |
Retrieves a list of comment items. |
| wp-includes/class-wp-taxonomy.php: WP_Taxonomy::set_props() |
Sets taxonomy properties. |
| wp-includes/formatting.php: sanitize_textarea_field() |
Sanitizes a multiline string from user input or from the database. |
| wp-includes/comment.php: wp_check_comment_flood() |
Checks whether comment flooding is occurring. |
| wp-includes/link-template.php: get_parent_theme_file_path() |
Retrieves the path of a file in the parent theme. |
| wp-includes/link-template.php: get_parent_theme_file_uri() |
Retrieves the URL of a file in the parent theme. |
| wp-includes/link-template.php: get_theme_file_path() |
Retrieves the path of a file in the theme. |
| wp-includes/link-template.php: get_theme_file_uri() |
Retrieves the URL of a file in the theme. |
| wp-includes/customize/class-wp-customize-custom-css-setting.php: WP_Customize_Custom_CSS_Setting::value() |
Fetch the value of the setting. Will return the previewed value when |
| wp-includes/customize/class-wp-customize-nav-menu-item-setting.php: WP_Customize_Nav_Menu_Item_Setting::get_original_title() |
Get original title. |
| wp-includes/class-wp-term-query.php: WP_Term_Query::get_terms() |
Get terms, based on query_vars. |
| wp-includes/class-wp-term-query.php: WP_Term_Query::parse_orderby() |
Parse and sanitize ‘orderby’ keys passed to the term query. |
| wp-includes/class-wp-term-query.php: WP_Term_Query::parse_query() |
Parse arguments passed to the term query with default query parameters. |
| wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::validate_setting_values() |
Validates setting values. |
| wp-includes/class-wp-customize-setting.php: WP_Customize_Setting::validate() |
Validates an input. |
| wp-includes/class-wp-network-query.php: WP_Network_Query::set_found_networks() |
Populates found_networks and max_num_pages properties for the current query if the limit clause was used. |
| wp-includes/general-template.php: wp_resource_hints() |
Prints resource hints to browsers for pre-fetching, pre-rendering and pre-connecting to web sites. |
| wp-includes/ms-network.php: get_network() |
Retrieves network data given a network ID or network object. |
| wp-includes/ms-site.php: get_site() |
Retrieves site data given a site ID or site object. |
| wp-includes/class-wp-post-type.php: WP_Post_Type::set_props() |
Sets post type properties. |
| wp-includes/class-wp-site.php: WP_Site::get_details() |
Retrieves the details for this site. |
| wp-includes/class-wp-comment-query.php: WP_Comment_Query::set_found_comments() |
Populates found_comments and max_num_pages properties for the current query if the limit clause was used. |
| wp-includes/post-thumbnail-template.php: the_post_thumbnail_caption() |
Displays the post thumbnail caption. |
| wp-includes/functions.php: wp_raise_memory_limit() |
Attempts to raise the PHP memory limit for memory intensive processes. |
| wp-includes/functions.php: _deprecated_hook() |
Marks a deprecated action or filter hook as deprecated and throws a notice. |
| wp-includes/functions.php: wp_get_ext_types() |
Retrieves the list of common file extensions and their types. |
| wp-includes/link-template.php: wp_get_canonical_url() |
Returns the canonical URL for a post. |
| wp-includes/post.php: wp_get_attachment_caption() |
Retrieves the caption for an attachment. |
| wp-includes/class-wp-site-query.php: WP_Site_Query::get_site_ids() |
Used internally to get a list of site IDs matching the query vars. |
| wp-includes/class-wp-site-query.php: WP_Site_Query::set_found_sites() |
Populates found_sites and max_num_pages properties for the current query if the limit clause was used. |
| wp-admin/includes/class-wp-posts-list-table.php: WP_Posts_List_Table::categories_dropdown() |
Displays a categories drop-down for filtering on the Posts list table. |
| wp-admin/includes/ms.php: network_edit_site_nav() |
Outputs the HTML for a network’s “Edit Site” tabular interface. |
| wp-admin/includes/export.php: wxr_term_meta() |
Output term meta XML tags for a given term object. |
| wp-includes/rest-api.php: rest_get_server() |
Retrieves the current REST server instance. |
| wp-includes/embed.php: the_embed_site_title() |
Prints the necessary markup for the site title in an embed template. |
| wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::get_nonces() |
Get nonces for the Customizer. |
| wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::get_previewable_devices() |
Returns a list of devices to allow previewing. |
| wp-includes/class-wp-image-editor-imagick.php: WP_Image_Editor_Imagick::thumbnail_image() |
Efficiently resize the current image |
| wp-includes/general-template.php: get_custom_logo() |
Returns a custom logo, linked to home. |
| wp-includes/rest-api/class-wp-rest-request.php: WP_REST_Request::from_url() |
Retrieves a WP_REST_Request object from a full URL. |
| wp-includes/rest-api/class-wp-rest-response.php: WP_REST_Response::get_curies() |
Retrieves the CURIEs (compact URIs) used for relations. |
| wp-includes/user.php: _wp_get_current_user() |
Retrieves the current user object. |
| wp-includes/user.php: wp_authenticate_email_password() |
Authenticates a user using the email and password. |
| wp-includes/comment.php: wp_get_comment_fields_max_lengths() |
Retrieves the maximum character lengths for the comment form fields. |
| wp-includes/customize/class-wp-customize-partial.php: WP_Customize_Partial::render() |
Renders the template partial involving the associated settings. |
| wp-includes/customize/class-wp-customize-selective-refresh.php: WP_Customize_Selective_Refresh::add_dynamic_partials() |
Registers dynamically-created partials. |
| wp-includes/customize/class-wp-customize-selective-refresh.php: WP_Customize_Selective_Refresh::handle_render_partials_request() |
Handles the Ajax request to return the rendered partials for the requested placements. |
| wp-includes/customize/class-wp-customize-selective-refresh.php: WP_Customize_Selective_Refresh::add_partial() |
Adds a partial. |
| wp-includes/class-wp-network.php: WP_Network::get_by_path() |
Retrieve the closest matching network for a domain and path. |
| wp-includes/rest-api.php: get_rest_url() |
Retrieves the URL to a REST endpoint on a site. |
| wp-includes/rest-api.php: rest_get_url_prefix() |
Retrieves the URL prefix for any API resource. |
| wp-includes/embed.php: the_excerpt_embed() |
Displays the post excerpt for the embed template. |
| wp-includes/embed.php: wp_oembed_add_discovery_links() |
Adds oEmbed discovery links in the website . |
| wp-includes/embed.php: get_post_embed_url() |
Retrieves the URL to embed a specific post in an iframe. |
| wp-includes/embed.php: get_oembed_endpoint_url() |
Retrieves the oEmbed endpoint URL for a given permalink. |
| wp-includes/embed.php: get_post_embed_html() |
Retrieves the embed code for a specific post. |
| wp-includes/embed.php: get_oembed_response_data() |
Retrieves the oEmbed response data for a given post. |
| wp-includes/theme.php: get_header_image_tag() |
Create image tag markup for a custom header image. |
| wp-includes/author-template.php: get_the_author_posts_link() |
Retrieves an HTML link to the author page of the current post’s author. |
| wp-includes/general-template.php: wp_get_document_title() |
Returns document title for the current page. |
| wp-includes/media.php: wp_calculate_image_srcset() |
A helper function to calculate the image sources to include in a ‘srcset’ attribute. |
| wp-includes/media.php: wp_calculate_image_sizes() |
Creates a ‘sizes’ attribute value for an image. |
| wp-includes/rest-api/class-wp-rest-request.php: WP_REST_Request::get_parameter_order() |
Retrieves the parameter priority order. |
| wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::get_data_for_routes() |
Retrieves the publicly-visible data for routes. |
| wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::dispatch() |
Matches the request to a callback and call it. |
| wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::get_index() |
Retrieves the site index. |
| wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::get_namespace_index() |
Retrieves the index for a namespace. |
| wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::envelope_response() |
Wraps the response in an envelope. |
| wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::get_routes() |
Retrieves the route map. |
| wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::serve_request() |
Handles serving an API request. |
| wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::embed_links() |
Embeds the links from the data into the request. |
| wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::check_authentication() |
Checks the authentication headers if supplied. |
| wp-includes/class-wp-oembed-controller.php: WP_oEmbed_Controller::get_item() |
Callback for the embed API endpoint. |
| wp-includes/class-wp-oembed-controller.php: WP_oEmbed_Controller::register_routes() |
Register the oEmbed REST API route. |
| wp-includes/user.php: get_password_reset_key() |
Creates, stores, then returns a password reset key for user. |
| wp-includes/functions.php: wp_removable_query_args() |
Returns an array of single-use query variable names that can be removed from a URL. |
| wp-includes/comment.php: wp_handle_comment_submission() |
Handles the submission of a comment, usually posted to wp-comments-post.php via a comment form. |
| wp-includes/comment.php: wp_new_comment_notify_moderator() |
Send a comment moderation notification to the comment moderator. |
| wp-includes/comment.php: wp_new_comment_notify_postauthor() |
Send a notification of a new comment to the post author. |
| wp-includes/link-template.php: get_preview_post_link() |
Retrieves the URL used for the post preview. |
| wp-includes/option.php: update_network_option() |
Update the value of a network option that was already added. |
| wp-includes/option.php: add_network_option() |
Add a new network option. |
| wp-includes/option.php: get_network_option() |
Retrieve a network’s option value based on the option name. |
| wp-includes/ms-functions.php: get_subdirectory_reserved_names() |
Retrieves a list of reserved site on a sub-directory Multisite installation. |
| wp-admin/includes/class-wp-screen.php: WP_Screen::render_view_mode() |
Render the list table view mode preferences. |
| wp-admin/includes/class-wp-users-list-table.php: WP_Users_List_Table::get_role_list() |
Returns an array of user roles for a given user object. |
| wp-signup.php: signup_get_available_languages() |
Retrieves languages available during the site/user signup process. |
| wp-includes/customize/class-wp-customize-nav-menu-setting.php: WP_Customize_Nav_Menu_Setting::sanitize() |
Sanitize an input. |
| wp-includes/customize/class-wp-customize-nav-menu-item-setting.php: WP_Customize_Nav_Menu_Item_Setting::value_as_wp_post_nav_menu_item() |
Get the value emulated into a WP_Post and set up as a nav_menu_item. |
| wp-includes/customize/class-wp-customize-nav-menu-item-setting.php: WP_Customize_Nav_Menu_Item_Setting::sanitize() |
Sanitize an input. |
| wp-includes/general-template.php: get_language_attributes() |
Gets the language attributes for the html tag. |
| wp-includes/general-template.php: wp_site_icon() |
Display site icon meta tags. |
| wp-includes/general-template.php: get_site_icon_url() |
Returns the Site Icon URL. |
| wp-includes/functions.php: get_main_network_id() |
Get the main network ID. |
| wp-includes/functions.php: _deprecated_constructor() |
Marks a constructor as deprecated and informs when it has been used. |
| wp-includes/formatting.php: format_for_editor() |
Formats text for the editor. |
| wp-includes/comment.php: get_default_comment_status() |
Gets the default comment status for a post type. |
| wp-includes/class-wp-customize-nav-menus.php: WP_Customize_Nav_Menus::search_available_items_query() |
Performs post queries for available-item searching. |
| wp-includes/class-wp-customize-nav-menus.php: WP_Customize_Nav_Menus::available_item_types() |
Return an array of all the available item types. |
| wp-includes/class-wp-customize-nav-menus.php: WP_Customize_Nav_Menus::load_available_items_query() |
Performs the post_type and taxonomy queries for loading available menu items. |
| wp-admin/includes/class-wp-posts-list-table.php: WP_Posts_List_Table::handle_row_actions() |
Generates and displays row action links. |
| wp-admin/includes/class-wp-posts-list-table.php: WP_Posts_List_Table::column_title() |
Handles the title column output. |
| wp-admin/includes/class-wp-posts-list-table.php: WP_Posts_List_Table::column_date() |
Handles the post date column output. |
| wp-admin/includes/class-wp-posts-list-table.php: WP_Posts_List_Table::column_default() |
Handles the default column output. |
| wp-admin/includes/class-wp-ms-themes-list-table.php: WP_MS_Themes_List_Table::column_name() |
Handles the name column output. |
| wp-admin/includes/class-wp-ms-themes-list-table.php: WP_MS_Themes_List_Table::column_description() |
Handles the description column output. |
| wp-admin/includes/class-wp-site-icon.php: WP_Site_Icon::insert_attachment() |
Inserts an attachment. |
| wp-admin/includes/class-wp-site-icon.php: WP_Site_Icon::additional_sizes() |
Adds additional sizes to be made when creating the site icon images. |
| wp-admin/includes/class-wp-site-icon.php: WP_Site_Icon::intermediate_image_sizes() |
Adds Site Icon sizes to the array of image sizes on demand. |
| wp-admin/includes/class-wp-comments-list-table.php: WP_Comments_List_Table::handle_row_actions() |
Generate and display row actions links. |
| wp-admin/includes/ajax-actions.php: wp_ajax_crop_image() |
Ajax handler for cropping an image. |
| wp-admin/includes/class-wp-list-table.php: WP_List_Table::get_primary_column_name() |
Gets the name of the primary column. |
| wp-admin/includes/class-wp-ms-sites-list-table.php: WP_MS_Sites_List_Table::handle_row_actions() |
Generates and displays row action links. |
| wp-admin/includes/class-wp-terms-list-table.php: WP_Terms_List_Table::handle_row_actions() |
Generates and displays row action links. |
| wp-admin/includes/class-wp-ms-users-list-table.php: WP_MS_Users_List_Table::handle_row_actions() |
Generates and displays row action links. |
| wp-admin/includes/class-wp-ms-users-list-table.php: WP_MS_Users_List_Table::column_blogs() |
Handles the sites column output. |
| wp-admin/includes/class-wp-ms-users-list-table.php: WP_MS_Users_List_Table::column_default() |
Handles the default column output. |
| wp-admin/includes/upgrade.php: wp_should_upgrade_global_tables() |
Determine if global tables should be upgraded. |
| wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::add_dynamic_settings() |
Register any dynamically-created settings, such as those from $_POST[‘customized’] that have no corresponding setting created. |
| wp-includes/wp-db.php: wpdb::get_table_charset() |
Retrieves the character set for the given table. |
| wp-includes/wp-db.php: wpdb::get_col_charset() |
Retrieves the character set for the given column. |
| wp-includes/functions.php: wp_delete_file() |
Delete a file |
| wp-includes/formatting.php: wp_staticize_emoji() |
Convert emoji to a static img element. |
| wp-includes/formatting.php: wp_staticize_emoji_for_email() |
Convert emoji in emails into static images. |
| wp-includes/link-template.php: get_avatar_data() |
Retrieves default data about the avatar. |
| wp-includes/post-template.php: the_meta() |
Display a list of post custom fields. |
| wp-admin/includes/post.php: wp_edit_attachments_query_vars() |
Get the query variables for the current attachments request. |
| wp-includes/class-wp-meta-query.php: WP_Meta_Query::find_compatible_table_alias() |
Identify an existing table alias that is compatible with the current query clause. |
| wp-includes/class-wp-customize-panel.php: WP_Customize_Panel::active() |
Check whether panel is active to current Customizer preview. |
| wp-includes/general-template.php: get_the_archive_description() |
Retrieves the description for an author, post type, or term archive. |
| wp-includes/general-template.php: get_the_archive_title() |
Retrieve the archive title based on the queried object. |
| wp-includes/user.php: wp_get_password_hint() |
Gets the text suggesting how to create strong passwords. |
| wp-includes/link-template.php: _navigation_markup() |
Wraps passed links in navigational markup. |
| wp-includes/class-wp-customize-section.php: WP_Customize_Section::active() |
Check whether section is active to current Customizer preview. |
| wp-includes/class-wp-session-tokens.php: WP_Session_Tokens::create() |
Generates a session token and attaches session information to it. |
| wp-includes/class-wp-session-tokens.php: WP_Session_Tokens::destroy_all_for_all_users() |
Destroys all sessions for all users. |
| wp-includes/class-wp-session-tokens.php: WP_Session_Tokens::get_instance() |
Retrieves a session manager instance for a user. |
| wp-includes/class-wp-customize-control.php: WP_Customize_Control::active() |
Check whether control is active to current Customizer preview. |
| wp-includes/theme.php: get_editor_stylesheets() |
Retrieve any registered editor stylesheets |
| wp-includes/comment-template.php: get_comments_number_text() |
Display the language string for the number of comments the current post has. |
| wp-includes/media.php: attachment_url_to_postid() |
Tries to convert an attachment URL into a post ID. |
| wp-includes/embed.php: wp_embed_handler_youtube() |
YouTube iframe embed handler callback. |
| wp-includes/formatting.php: wp_spaces_regexp() |
Returns the regexp for common whitespace characters. |
| wp-admin/includes/class-wp-media-list-table.php: WP_Media_List_Table::views() |
Override parent views so we can use the filter bar display. |
| wp-admin/includes/file.php: _wp_handle_upload() |
Handle PHP uploads in WordPress, sanitizing file names, checking extensions for mime type, and moving the file to the appropriate directory within the uploads directory. |
| wp-admin/includes/class-wp-plugin-install-list-table.php: WP_Plugin_Install_List_Table::views() |
Override parent views so we can use the filter bar display. |
| wp-admin/includes/translation-install.php: translations_api() |
Retrieve translations from WordPress Translation API. |
| wp-login.php: retrieve_password() |
Handles sending password retrieval email to user. |
| wp-login.php: login_header() |
Output the login page header. |
| wp-signup.php: signup_another_blog() |
Allow returning users to sign up for another site |
| wp-signup.php: validate_another_blog_signup() |
Validate a new site signup for an existing user. |
| wp-signup.php: signup_user() |
Setup the new user signup process |
| wp-signup.php: validate_user_signup() |
Validate the new user signup |
| wp-signup.php: signup_blog() |
Setup the new site signup |
| wp-signup.php: validate_blog_signup() |
Validate new site signup |
| wp-admin/includes/network.php: allow_subdirectory_install() |
Allow subdirectory installation. |
| wp-admin/includes/class-wp-automatic-updater.php: WP_Automatic_Updater::run() |
Kicks off the background update process, looping through all pending updates. |
| wp-admin/includes/class-wp-automatic-updater.php: WP_Automatic_Updater::send_email() |
Sends an email upon the completion or failure of a background core update. |
| wp-admin/includes/class-wp-automatic-updater.php: WP_Automatic_Updater::send_debug_email() |
Prepares and sends an email of a full log of background update results, useful for debugging and geekery. |
| wp-admin/includes/class-wp-automatic-updater.php: WP_Automatic_Updater::is_disabled() |
Whether the entire automatic updater is disabled. |
| wp-admin/includes/class-wp-automatic-updater.php: WP_Automatic_Updater::is_vcs_checkout() |
Check for version control checkouts. |
| wp-admin/includes/class-wp-automatic-updater.php: WP_Automatic_Updater::should_update() |
Tests to see if we can and should update a specific item. |
| wp-admin/includes/class-wp-automatic-updater.php: WP_Automatic_Updater::send_core_update_notification_email() |
Notifies an administrator of a core update. |
| wp-admin/includes/class-language-pack-upgrader.php: Language_Pack_Upgrader::async_upgrade() |
Asynchronously upgrades language packs after other upgrades have been made. |
| wp-admin/includes/class-core-upgrader.php: Core_Upgrader::upgrade() |
Upgrade WordPress core. |
| wp-admin/includes/class-core-upgrader.php: Core_Upgrader::should_update_to_version() |
Determines if this WordPress Core version should update to an offered version or not. |
| wp-admin/includes/class-wp-upgrader.php: WP_Upgrader::download_package() |
Download a package. |
| wp-admin/includes/class-wp-upgrader.php: WP_Upgrader::install_package() |
Install a package. |
| wp-admin/includes/class-wp-upgrader.php: WP_Upgrader::run() |
Run an upgrade/installation. |
| wp-admin/includes/class-wp-ms-users-list-table.php: WP_MS_Users_List_Table::prepare_items() | |
| wp-admin/includes/class-wp-ms-users-list-table.php: WP_MS_Users_List_Table::get_columns() | |
| wp-admin/includes/theme.php: wp_prepare_themes_for_js() |
Prepare themes for JavaScript. |
| wp-admin/includes/class-wp-screen.php: WP_Screen::show_screen_options() | |
| wp-admin/includes/class-wp-screen.php: WP_Screen::render_screen_options() |
Render the screen options tab. |
| wp-admin/includes/class-wp-screen.php: WP_Screen::render_per_page_options() |
Render the items per page option |
| wp-admin/includes/theme.php: themes_api() |
Retrieves theme installer pages from the WordPress.org Themes API. |
| wp-admin/includes/class-wp-screen.php: WP_Screen::render_screen_meta() |
Render the screen’s help section. |
| wp-admin/includes/class-wp-screen.php: WP_Screen::get() |
Fetches a screen object. |
| wp-admin/includes/class-wp-plugins-list-table.php: WP_Plugins_List_Table::single_row() | |
| wp-admin/includes/screen.php: get_column_headers() |
Get the column headers for a screen |
| wp-admin/includes/screen.php: get_hidden_columns() |
Get a list of hidden columns. |
| wp-admin/includes/screen.php: get_hidden_meta_boxes() |
Get Hidden Meta Boxes |
| wp-admin/includes/class-wp-plugins-list-table.php: WP_Plugins_List_Table::prepare_items() | |
| wp-admin/includes/export.php: export_wp() |
Generates the WXR export file for download. |
| wp-admin/includes/deprecated.php: wp_create_thumbnail() |
This was once used to create a thumbnail from an Image given a maximum side size. |
| wp-admin/includes/deprecated.php: get_editable_authors() |
Gets author users who can edit posts. |
| wp-admin/includes/deprecated.php: get_others_unpublished_posts() |
Retrieves editable posts from other users. |
| wp-admin/includes/class-theme-upgrader-skin.php: Theme_Upgrader_Skin::after() | |
| wp-admin/includes/class-language-pack-upgrader-skin.php: Language_Pack_Upgrader_Skin::bulk_footer() | |
| wp-admin/includes/class-theme-installer-skin.php: Theme_Installer_Skin::after() | |
| wp-admin/includes/class-plugin-installer-skin.php: Plugin_Installer_Skin::after() | |
| wp-admin/includes/class-bulk-theme-upgrader-skin.php: Bulk_Theme_Upgrader_Skin::bulk_footer() | |
| wp-admin/includes/class-bulk-plugin-upgrader-skin.php: Bulk_Plugin_Upgrader_Skin::bulk_footer() | |
| wp-admin/includes/class-plugin-upgrader-skin.php: Plugin_Upgrader_Skin::after() | |
| wp-admin/includes/class-wp-list-table.php: WP_List_Table::get_items_per_page() |
Get number of items to display on a single page |
| wp-admin/includes/class-wp-list-table.php: WP_List_Table::get_column_info() |
Get a list of all, hidden and sortable columns, with filter applied |
| wp-admin/includes/class-wp-list-table.php: WP_List_Table::views() |
Display the list of views available on this table. |
| wp-admin/includes/class-wp-list-table.php: WP_List_Table::bulk_actions() |
Display the bulk actions dropdown. |
| wp-admin/includes/class-wp-list-table.php: WP_List_Table::months_dropdown() |
Display a monthly dropdown for filtering items |
| wp-admin/includes/ms.php: mu_dropdown_languages() |
Generates and displays a drop-down of available languages. |
| wp-admin/includes/ms.php: can_edit_network() |
Whether or not we can edit this network from this page. |
| wp-admin/includes/ms.php: format_code_lang() |
Returns the language for a language code. |
| wp-admin/includes/misc.php: update_option_new_admin_email() |
Send a confirmation request email when a change of site admin email address is attempted. |
| wp-includes/user.php: send_confirmation_on_profile_email() |
Send a confirmation request email when a change of user email address is attempted. |
| wp-admin/includes/image-edit.php: wp_save_image_file() |
Saves image to file. |
| wp-admin/includes/image-edit.php: image_edit_apply_changes() |
Performs group of changes on Editor specified. |
| wp-admin/includes/image-edit.php: wp_stream_image() |
Streams image in WP_Image_Editor to browser. |
| wp-admin/includes/class-wp-ms-themes-list-table.php: WP_MS_Themes_List_Table::prepare_items() | |
| wp-admin/includes/misc.php: insert_with_markers() |
Inserts an array of strings into a file (.htaccess), placing it between BEGIN and END markers. |
| wp-admin/includes/misc.php: wp_doc_link_parse() | |
| wp-admin/includes/misc.php: set_screen_options() |
Saves option for number of rows when listing posts, pages, comments, etc. |
| wp-admin/includes/misc.php: got_mod_rewrite() |
Returns whether the server is running Apache with the mod_rewrite module loaded. |
| wp-admin/includes/misc.php: got_url_rewrite() |
Returns whether the server supports URL rewriting. |
| wp-admin/includes/taxonomy.php: get_terms_to_edit() |
Get comma-separated list of terms available to edit for the given post ID. |
| wp-admin/includes/class-wp-theme-install-list-table.php: WP_Theme_Install_List_Table::prepare_items() | |
| wp-admin/includes/class-wp-theme-install-list-table.php: WP_Theme_Install_List_Table::single_row() |
Prints a theme from the WordPress.org API. |
| wp-admin/includes/update.php: update_right_now_message() | |
| wp-admin/includes/image.php: wp_generate_attachment_metadata() |
Generate attachment meta data and create image sub-sizes for images. |
| wp-admin/includes/image.php: wp_read_image_metadata() |
Get extended image metadata, exif or iptc as available. |
| wp-admin/includes/image.php: file_is_displayable_image() |
Validate that file is suitable for displaying within a web page. |
| wp-admin/includes/image.php: load_image_to_edit() |
Load an image resource for editing. |
| wp-admin/includes/image.php: _load_image_to_edit_path() |
Retrieve the path or url of an attachment’s attached file. |
| wp-admin/includes/plugin-install.php: plugins_api() |
Retrieves plugin installer pages from the WordPress.org Plugins API. |
| wp-admin/includes/dashboard.php: wp_dashboard_recent_posts() |
Generates Publishing Soon and Recently Published sections. |
| wp-admin/includes/dashboard.php: wp_dashboard_primary() |
‘WordPress Events and News’ dashboard widget. |
| wp-admin/includes/dashboard.php: wp_dashboard_browser_nag() | |
| wp-admin/includes/dashboard.php: wp_dashboard_right_now() |
Dashboard widget that displays some basic stats about the site. |
| wp-admin/includes/dashboard.php: wp_dashboard_quick_press() |
The Quick Draft widget display and creation of drafts. |
| wp-admin/includes/dashboard.php: wp_dashboard_recent_drafts() |
Show recent drafts of the user on the dashboard. |
| wp-admin/includes/dashboard.php: _wp_dashboard_recent_comments_row() |
Outputs a row for the Recent Comments widget. |
| wp-admin/includes/dashboard.php: wp_dashboard_setup() |
Registers dashboard widgets. |
| wp-admin/includes/upgrade.php: dbDelta() |
Modifies the database based on specified SQL statements. |
| wp-includes/option.php: register_setting() |
Register a setting and its data. |
| wp-admin/includes/plugin.php: get_plugin_files() |
Get a list of a plugin’s files. |
| wp-admin/includes/class-wp-plugin-install-list-table.php: WP_Plugin_Install_List_Table::display_rows() | |
| wp-admin/includes/user.php: edit_user() |
Edit user settings based on contents of $_POST |
| wp-admin/includes/user.php: get_editable_roles() |
Fetch a filtered list of user roles that the current user is allowed to edit. |
| wp-admin/includes/user.php: get_users_drafts() |
Retrieve the user’s drafts. |
| wp-admin/includes/user.php: wp_delete_user() |
Remove user and optionally reassign posts and links to another user. |
| wp-admin/includes/class-wp-plugin-install-list-table.php: WP_Plugin_Install_List_Table::prepare_items() | |
| wp-admin/includes/class-walker-category-checklist.php: Walker_Category_Checklist::start_el() |
Start the element output. |
| wp-admin/includes/template.php: iframe_header() |
Generic Iframe header for use with Thickbox |
| wp-admin/includes/template.php: _media_states() |
Function to echo the attachment media states as HTML. |
| wp-admin/includes/template.php: get_inline_data() |
Adds hidden fields with the data for use in the inline editor for posts and pages. |
| wp-admin/includes/template.php: wp_comment_reply() |
Outputs the in-line comment reply-to form in the Comments list table. |
| wp-admin/includes/template.php: meta_form() |
Prints the form in the Custom Fields meta box. |
| wp-admin/includes/template.php: wp_import_upload_form() |
Outputs the form used by the importers to accept the data to be imported |
| wp-admin/includes/class-wp-themes-list-table.php: WP_Themes_List_Table::display_rows() | |
| wp-admin/includes/template.php: wp_terms_checklist() |
Output an unordered list of checkbox input elements labelled with term names. |
| wp-admin/includes/template.php: wp_popular_terms_checklist() |
Retrieve a list of the most popular terms from the specified taxonomy. |
| wp-admin/includes/template.php: wp_link_category_checklist() |
Outputs a link category checklist element. |
| wp-admin/includes/class-wp-ms-sites-list-table.php: WP_MS_Sites_List_Table::prepare_items() |
Prepares the list of sites for display. |
| wp-admin/includes/class-wp-ms-sites-list-table.php: WP_MS_Sites_List_Table::get_columns() | |
| wp-admin/includes/class-wp-users-list-table.php: WP_Users_List_Table::single_row() |
Generate HTML for a single row on the users.php admin panel. |
| wp-admin/includes/class-wp-users-list-table.php: WP_Users_List_Table::prepare_items() |
Prepare the users list for display. |
| wp-admin/includes/media.php: wp_read_video_metadata() |
Retrieve metadata from a video file’s ID3 tags |
| wp-admin/includes/media.php: media_upload_type_form() |
Outputs the legacy media upload form for a given media type. |
| wp-admin/includes/media.php: media_upload_type_url_form() |
Outputs the legacy media upload form for external media. |
| wp-admin/includes/media.php: media_upload_gallery_form() |
Adds gallery form to upload iframe |
| wp-admin/includes/media.php: media_upload_library_form() |
Outputs the legacy media upload form for the media library. |
| wp-admin/includes/media.php: wp_media_insert_url_form() |
Creates the form for external url |
| wp-admin/includes/media.php: attachment_submitbox_metadata() |
Displays non-editable attachment metadata in the publish meta box. |
| wp-admin/includes/media.php: get_attachment_fields_to_edit() |
Retrieves the attachment fields to edit form fields. |
| wp-admin/includes/media.php: get_media_item() |
Retrieve HTML form for modifying the image attachment. |
| wp-admin/includes/media.php: get_compat_media_markup() | |
| wp-admin/includes/media.php: media_upload_form() |
Outputs the legacy media upload form. |
| wp-admin/includes/media.php: media_upload_form_handler() |
Handles form submissions for the legacy media uploader. |
| wp-admin/includes/media.php: wp_media_upload_handler() |
Handles the process of uploading media. |
| wp-admin/includes/media.php: image_size_input_fields() |
Retrieve HTML for the size radio buttons with the specified one checked. |
| wp-admin/includes/media.php: the_media_upload_tabs() |
Outputs the legacy media upload tabs UI. |
| wp-admin/includes/media.php: get_image_send_to_editor() |
Retrieves the image HTML to send to the editor. |
| wp-admin/includes/media.php: image_add_caption() |
Adds image shortcode with caption to editor |
| wp-admin/includes/media.php: media_buttons() |
Adds the media button to the editor |
| wp-admin/includes/media.php: get_upload_iframe_src() | |
| wp-admin/includes/media.php: media_upload_tabs() |
Defines the default media upload tabs |
| wp-admin/includes/post.php: get_sample_permalink_html() |
Returns the HTML of the sample permalink slug editor. |
| wp-admin/includes/post.php: _wp_post_thumbnail_html() |
Output HTML for the post thumbnail meta-box. |
| wp-admin/includes/post.php: wp_check_post_lock() |
Check to see if the post is currently being edited by another user. |
| wp-admin/includes/post.php: _admin_notice_post_locked() |
Outputs the HTML for the notice to say that someone else is editing or has taken over editing of this post. |
| wp-admin/includes/post.php: wp_edit_posts_query() |
Run the wp query to fetch the posts for listing on the edit posts page |
| wp-admin/includes/post.php: postbox_classes() |
Returns the list of classes to be used by a meta box. |
| wp-admin/includes/post.php: get_sample_permalink() |
Get a sample permalink based off of the post name. |
| wp-admin/includes/ajax-actions.php: wp_ajax_send_attachment_to_editor() |
Ajax handler for sending an attachment to the editor. |
| wp-admin/includes/ajax-actions.php: wp_ajax_send_link_to_editor() |
Ajax handler for sending a link to the editor. |
| wp-admin/includes/ajax-actions.php: wp_ajax_heartbeat() |
Ajax handler for the Heartbeat API. |
| wp-admin/includes/ajax-actions.php: wp_ajax_query_themes() |
Ajax handler for getting themes from themes_api(). |
| wp-admin/includes/post.php: edit_post() |
Update an existing post with values provided in $_POST. |
| wp-admin/includes/post.php: get_default_post_to_edit() |
Default post information to use when populating the “Write Post” form. |
| wp-admin/includes/ajax-actions.php: wp_ajax_wp_remove_post_lock() |
Ajax handler for removing a post lock. |
| wp-admin/includes/ajax-actions.php: wp_ajax_query_attachments() |
Ajax handler for querying attachments. |
| wp-admin/includes/ajax-actions.php: wp_ajax_save_attachment_compat() |
Ajax handler for saving backward compatible attachment attributes. |
| wp-admin/includes/ajax-actions.php: wp_ajax_add_menu_item() |
Ajax handler for adding a menu item. |
| wp-admin/includes/ajax-actions.php: wp_ajax_menu_get_metabox() |
Ajax handler for retrieving menu meta boxes. |
| wp-admin/includes/ajax-actions.php: wp_ajax_inline_save() |
Ajax handler for Quick Edit saving a post from a list table. |
| wp-admin/includes/ajax-actions.php: wp_ajax_nopriv_heartbeat() |
Ajax handler for the Heartbeat API in the no-privilege context. |
| wp-admin/includes/ajax-actions.php: wp_ajax_ajax_tag_search() |
Ajax handler for tag search. |
| wp-admin/includes/ajax-actions.php: wp_ajax_autocomplete_user() |
Ajax handler for user autocomplete. |
| wp-admin/includes/update-core.php: update_core() |
Upgrades the core of WordPress. |
| wp-admin/includes/revision.php: wp_get_revision_ui_diff() |
Get the revision UI diff. |
| wp-admin/includes/revision.php: wp_prepare_revisions_for_js() |
Prepare revisions for JavaScript. |
| wp-admin/includes/meta-boxes.php: post_slug_meta_box() |
Display slug form fields. |
| wp-admin/includes/meta-boxes.php: page_attributes_meta_box() |
Display page attributes form fields. |
| wp-admin/includes/meta-boxes.php: post_categories_meta_box() |
Display post categories form fields. |
| wp-admin/includes/menu.php: add_menu_classes() | |
| wp-admin/includes/class-wp-media-list-table.php: WP_Media_List_Table::get_columns() | |
| wp-admin/includes/class-wp-media-list-table.php: WP_Media_List_Table::_get_row_actions() | |
| wp-admin/includes/class-wp-comments-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::extra_tablenav() | |
| 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-terms-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-walker-nav-menu-checklist.php: Walker_Nav_Menu_Checklist::start_el() |
Start the element output. |
| wp-admin/includes/nav-menu.php: wp_nav_menu_post_type_meta_boxes() |
Creates meta boxes for any post type menu item. |
| wp-admin/includes/nav-menu.php: wp_nav_menu_taxonomy_meta_boxes() |
Creates meta boxes for any taxonomy menu item. |
| wp-admin/includes/nav-menu.php: wp_nav_menu_item_post_type_meta_box() |
Displays a meta box for a post type menu item. |
| wp-admin/includes/nav-menu.php: wp_get_nav_menu_to_edit() |
Returns the menu formatted to edit. |
| wp-admin/includes/file.php: get_filesystem_method() |
Determines which method to use for reading, writing, modifying, or deleting files on the filesystem. |
| wp-admin/includes/file.php: request_filesystem_credentials() |
Displays a form to the user to request for their FTP/SSH details in order to connect to the filesystem. |
| wp-admin/includes/file.php: download_url() |
Downloads a URL to a local temporary file using the WordPress HTTP API. |
| wp-admin/includes/file.php: unzip_file() |
Unzips a specified ZIP file to a location on the filesystem via the WordPress Filesystem Abstraction. |
| wp-admin/includes/file.php: WP_Filesystem() |
Initialises and connects the WordPress Filesystem Abstraction classes. |
| wp-admin/includes/class-wp-posts-list-table.php: WP_Posts_List_Table::inline_edit() |
Outputs the hidden row displayed when inline editing |
| wp-admin/includes/class-wp-posts-list-table.php: WP_Posts_List_Table::get_columns() | |
| wp-admin/includes/class-wp-posts-list-table.php: WP_Posts_List_Table::prepare_items() | |
| wp-admin/includes/comment.php: get_comment_to_edit() |
Returns a WP_Comment object based on comment ID. |
| wp-admin/includes/class-custom-image-header.php: Custom_Image_Header::insert_attachment() |
Insert an attachment and its metadata. |
| wp-admin/includes/class-custom-image-header.php: Custom_Image_Header::ajax_header_crop() |
Gets attachment uploaded by Media Manager, crops it, then saves it as a new object. Returns JSON-encoded object details. |
| wp-admin/includes/class-custom-image-header.php: Custom_Image_Header::step_2() |
Display second step of custom header image page. |
| wp-admin/includes/class-custom-image-header.php: Custom_Image_Header::step_3() |
Display third step of custom header image page. |
| wp-admin/includes/post.php: redirect_post() |
Redirect to previous page. |
| wp-admin/includes/class-custom-background.php: Custom_Background::wp_set_background_image() | |
| wp-includes/class-wp-user.php: WP_User::has_cap() |
Returns whether the user has the specified capability. |
| wp-includes/class-wp-role.php: WP_Role::has_cap() |
Determines whether the role has the given capability. |
| wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::add_setting() |
Add a customize setting. |
| wp-includes/capabilities.php: map_meta_cap() |
Maps meta capabilities to primitive capabilities. |
| wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::save() |
Handle customize_save WP Ajax request to save/update a changeset. |
| wp-includes/class.wp-styles.php: WP_Styles::all_deps() |
Determines style dependencies. |
| wp-includes/class.wp-styles.php: WP_Styles::_css_href() |
Generates an enqueued style’s fully-qualified URL. |
| wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::__construct() |
Constructor. |
| wp-includes/class.wp-styles.php: WP_Styles::do_item() |
Processes a style dependency. |
| wp-includes/cron.php: wp_schedule_event() |
Schedules a recurring event. |
| wp-includes/cron.php: wp_reschedule_event() |
Reschedules a recurring event. |
| wp-includes/cron.php: wp_unschedule_event() |
Unschedule a previously scheduled event. |
| wp-includes/cron.php: wp_clear_scheduled_hook() |
Unschedules all events attached to the hook with the specified arguments. |
| wp-includes/cron.php: spawn_cron() |
Sends a request to run cron through HTTP request that doesn’t halt page loading. |
| wp-includes/cron.php: wp_get_schedule() |
Retrieve the recurrence schedule for an event. |
| wp-includes/cron.php: wp_get_schedules() |
Retrieve supported event recurrence schedules. |
| wp-includes/cron.php: wp_schedule_single_event() |
Schedules an event to run only once. |
| wp-includes/class-walker-category.php: Walker_Category::start_el() |
Starts the element output. |
| wp-includes/class-walker-category-dropdown.php: Walker_CategoryDropdown::start_el() |
Starts the element output. |
| wp-includes/category-template.php: get_the_term_list() |
Retrieve a post’s terms as a list with specified format. |
| wp-includes/category-template.php: the_terms() |
Display the terms in a list. |
| wp-includes/category-template.php: wp_tag_cloud() |
Displays a tag cloud. |
| wp-includes/category-template.php: wp_generate_tag_cloud() |
Generates a tag cloud (heatmap) from provided data. |
| wp-includes/category-template.php: get_the_tags() |
Retrieve the tags for a post. |
| wp-includes/category-template.php: get_the_tag_list() |
Retrieve the tags for a post formatted as a string. |
| wp-includes/category-template.php: get_the_terms() |
Retrieve the terms of the taxonomy that are attached to the post. |
| wp-includes/category-template.php: get_the_category() |
Retrieve post categories. |
| wp-includes/category-template.php: get_the_category_list() |
Retrieve category list for a post in either HTML list or custom format. |
| wp-includes/category-template.php: wp_dropdown_categories() |
Display or retrieve the HTML dropdown list of categories. |
| wp-includes/category-template.php: wp_list_categories() |
Display or retrieve the HTML list of categories. |
| wp-includes/theme.php: current_theme_supports() |
Checks a theme’s support for a given feature. |
| wp-includes/theme.php: set_theme_mod() |
Update theme modification value for the current theme. |
| wp-includes/theme.php: get_theme_root() |
Retrieve path to themes directory. |
| wp-includes/theme.php: get_theme_root_uri() |
Retrieve URI for themes directory. |
| wp-includes/theme.php: validate_current_theme() |
Checks that current theme files ‘index.php’ and ‘style.css’ exists. |
| wp-includes/theme.php: get_theme_mod() |
Retrieve theme modification value for the current theme. |
| wp-includes/theme.php: get_stylesheet_directory() |
Retrieve stylesheet directory path for current theme. |
| wp-includes/theme.php: get_stylesheet_directory_uri() |
Retrieve stylesheet directory URI. |
| wp-includes/theme.php: get_stylesheet_uri() |
Retrieves the URI of current theme stylesheet. |
| wp-includes/theme.php: get_locale_stylesheet_uri() |
Retrieves the localized stylesheet URI. |
| wp-includes/theme.php: get_template() |
Retrieve name of the current theme. |
| wp-includes/theme.php: get_template_directory() |
Retrieve current theme directory. |
| wp-includes/theme.php: get_template_directory_uri() |
Retrieve theme directory URI. |
| wp-includes/theme.php: search_theme_directories() |
Search all registered theme directories for complete and valid themes. |
| wp-includes/l10n.php: get_available_languages() |
Get all available languages based on the presence of *.mo files in a given directory. |
| wp-includes/theme.php: get_stylesheet() |
Retrieve name of the current stylesheet. |
| wp-includes/l10n.php: load_textdomain() |
Load a .mo file into the text domain $domain. |
| wp-includes/l10n.php: unload_textdomain() |
Unload translations for a text domain. |
| wp-includes/l10n.php: load_plugin_textdomain() |
Loads a plugin’s translated strings. |
| wp-includes/l10n.php: load_muplugin_textdomain() |
Load the translated strings for a plugin residing in the mu-plugins directory. |
| wp-includes/l10n.php: load_theme_textdomain() |
Load the theme’s translated strings. |
| wp-includes/l10n.php: translate() |
Retrieve the translation of $text. |
| wp-includes/l10n.php: translate_with_gettext_context() |
Retrieve the translation of $text in the context defined in $context. |
| wp-includes/l10n.php: _n() |
Translates and retrieves the singular or plural form based on the supplied number. |
| wp-includes/l10n.php: _nx() |
Translates and retrieves the singular or plural form based on the supplied number, with gettext context. |
| wp-includes/l10n.php: get_locale() |
Retrieves the current locale. |
| wp-includes/formatting.php: sanitize_text_field() |
Sanitizes a string from user input or from the database. |
| wp-includes/formatting.php: sanitize_mime_type() |
Sanitize a mime type |
| wp-includes/formatting.php: sanitize_trackback_urls() |
Sanitize space or carriage return separated URLs that are used to send trackbacks. |
| wp-includes/formatting.php: esc_textarea() |
Escaping for textarea values. |
| wp-includes/formatting.php: tag_escape() |
Escape an HTML tag name. |
| wp-includes/formatting.php: sanitize_option() |
Sanitises various option values based on the nature of the option. |
| wp-includes/formatting.php: wp_parse_str() |
Parses a string into variables to be stored in an array. |
| wp-includes/formatting.php: wp_sprintf() |
WordPress implementation of PHP sprintf() with filters. |
| wp-includes/formatting.php: wp_sprintf_l() |
Localize list items before the rest of the content. |
| wp-includes/deprecated.php: wp_htmledit_pre() |
Formats text for the HTML editor. |
| wp-includes/formatting.php: esc_url() |
Checks and cleans a URL. |
| wp-includes/formatting.php: esc_js() |
Escape single quotes, htmlspecialchar ” &, and fix line endings. |
| wp-includes/formatting.php: esc_html() |
Escaping for HTML blocks. |
| wp-includes/formatting.php: esc_attr() |
Escaping for HTML attributes. |
| wp-includes/deprecated.php: wp_richedit_pre() |
Formats text for the rich text editor. |
| wp-includes/formatting.php: sanitize_email() |
Strips out all characters that are not allowable in an email. |
| wp-includes/formatting.php: human_time_diff() |
Determines the difference between two timestamps. |
| wp-includes/formatting.php: wp_trim_excerpt() |
Generates an excerpt from the content, if needed. |
| wp-includes/formatting.php: wp_trim_words() |
Trims text to a certain number of words. |
| wp-includes/formatting.php: ent2ncr() |
Converts named entities into numbered entities. |
| wp-includes/formatting.php: _make_url_clickable_cb() |
Callback to convert URI match to HTML A element. |
| wp-includes/formatting.php: _make_web_ftp_clickable_cb() |
Callback to convert URL match to HTML A element. |
| wp-includes/formatting.php: translate_smiley() |
Convert one smiley code to the icon graphic file equivalent. |
| wp-includes/formatting.php: is_email() |
Verifies that an email is valid. |
| wp-includes/formatting.php: sanitize_file_name() |
Sanitizes a filename, replacing whitespace with dashes. |
| wp-includes/formatting.php: sanitize_user() |
Sanitizes a username, stripping out unsafe characters. |
| wp-includes/formatting.php: sanitize_key() |
Sanitizes a string key. |
| wp-includes/formatting.php: sanitize_title() |
Sanitizes a title, or returns a fallback title. |
| wp-includes/formatting.php: sanitize_html_class() |
Sanitizes an HTML classname to ensure it only contains valid characters. |
| wp-includes/formatting.php: format_to_edit() |
Acts on text which is about to be edited. |
| wp-includes/pluggable.php: get_avatar() |
Retrieve the avatar |
| wp-includes/formatting.php: wptexturize() |
Replaces common plain text characters into formatted entities |
| wp-includes/pluggable.php: wp_password_change_notification() |
Notify the blog admin of a user changing password, normally via email. |
| wp-includes/pluggable.php: wp_new_user_notification() |
Email login credentials to a newly-registered user. |
| wp-includes/pluggable.php: wp_nonce_tick() |
Returns the time-dependent variable for nonce creation. |
| wp-includes/pluggable.php: wp_verify_nonce() |
Verifies that a correct security nonce was used with time limit. |
| wp-includes/pluggable.php: wp_create_nonce() |
Creates a cryptographic token tied to a specific action, user, user session, and window of time. |
| wp-includes/pluggable.php: wp_check_password() |
Checks the plaintext password against the encrypted Password. |
| wp-includes/pluggable.php: wp_generate_password() |
Generates a random password drawn from the defined set of characters. |
| wp-includes/pluggable.php: wp_salt() |
Returns a salt to add to hashes. |
| wp-includes/pluggable.php: wp_redirect() |
Redirects to another page. |
| wp-includes/pluggable.php: wp_safe_redirect() |
Performs a safe (local) redirect, using wp_redirect(). |
| wp-includes/pluggable.php: wp_validate_redirect() |
Validates a URL for use in a redirect. |
| wp-includes/pluggable.php: wp_notify_postauthor() |
Notify an author (and/or others) of a comment/trackback/pingback on a post. |
| wp-includes/pluggable.php: wp_notify_moderator() |
Notifies the moderator of the site about a new comment that is awaiting approval. |
| wp-includes/pluggable.php: wp_set_auth_cookie() |
Sets the authentication cookies based on user ID. |
| wp-includes/pluggable.php: wp_clear_auth_cookie() |
Removes all of the cookies associated with authentication. |
| wp-includes/pluggable.php: auth_redirect() |
Checks if a user is logged in, if not it redirects them to the login page. |
| wp-includes/pluggable.php: wp_authenticate() |
Authenticate a user, confirming the login credentials are valid. |
| wp-includes/pluggable.php: wp_generate_auth_cookie() |
Generates authentication cookie contents. |
| wp-includes/pluggable.php: wp_mail() |
Sends an email, similar to PHP’s mail function. |
| wp-includes/general-template.php: the_search_query() |
Displays the contents of the search query variable. |
| wp-includes/general-template.php: paginate_links() |
Retrieve paginated link for archive post pages. |
| wp-includes/general-template.php: wp_admin_css_uri() |
Displays the URL of a WordPress admin CSS file. |
| wp-includes/general-template.php: wp_generator() |
Displays the XHTML generator that is generated on the wp_head hook. |
| wp-includes/general-template.php: the_generator() |
Display the generator XML or Comment for RSS, ATOM, etc. |
| wp-includes/general-template.php: get_the_generator() |
Creates the generator XML or Comment for RSS, ATOM, etc. |
| wp-includes/general-template.php: wp_admin_css() |
Enqueues or directly prints a stylesheet link to the specified CSS file. |
| wp-includes/general-template.php: feed_links() |
Display the links to the general feeds. |
| wp-includes/general-template.php: user_can_richedit() |
Whether the user can access the visual editor. |
| wp-includes/general-template.php: wp_default_editor() |
Find out which editor should be displayed by default. |
| wp-includes/general-template.php: get_search_query() |
Retrieves the contents of the search WordPress query variable. |
| wp-includes/general-template.php: get_the_modified_date() |
Retrieve the date on which the post was last modified. |
| wp-includes/general-template.php: the_time() |
Display the time at which the post was written. |
| wp-includes/general-template.php: get_the_time() |
Retrieve the time at which the post was written. |
| wp-includes/general-template.php: get_post_time() |
Retrieve the time at which the post was written. |
| wp-includes/general-template.php: the_modified_time() |
Display the time at which the post was last modified. |
| wp-includes/general-template.php: get_the_modified_time() |
Retrieve the time at which the post was last modified. |
| wp-includes/general-template.php: get_post_modified_time() |
Retrieve the time at which the post was last modified. |
| wp-includes/general-template.php: the_weekday() |
Display the weekday on which the post was written. |
| wp-includes/general-template.php: the_weekday_date() |
Display the weekday on which the post was written. |
| wp-includes/general-template.php: get_archives_link() |
Retrieve archive link content based on predefined or custom code. |
| wp-includes/general-template.php: wp_get_archives() |
Display archive links based on type and format. |
| wp-includes/general-template.php: get_calendar() |
Display calendar with days that have posts as links. |
| wp-includes/general-template.php: the_date() |
Display or Retrieve the date the current post was written (once per date) |
| wp-includes/general-template.php: get_the_date() |
Retrieve the date on which the post was written. |
| wp-includes/general-template.php: the_modified_date() |
Display the date on which the post was last modified. |
| wp-includes/general-template.php: get_bloginfo() |
Retrieves information about the current site. |
| wp-includes/general-template.php: wp_title() |
Display or retrieve page title for all areas of blog. |
| wp-includes/general-template.php: single_post_title() |
Display or retrieve page title for post. |
| wp-includes/general-template.php: post_type_archive_title() |
Display or retrieve title for a post type archive. |
| wp-includes/general-template.php: single_term_title() |
Display or retrieve page title for taxonomy term archive. |
| wp-includes/general-template.php: wp_loginout() |
Display the Log In/Out link. |
| wp-includes/general-template.php: wp_logout_url() |
Retrieves the logout URL. |
| wp-includes/general-template.php: wp_login_url() |
Retrieves the login URL. |
| wp-includes/general-template.php: wp_registration_url() |
Returns the URL that allows the user to register on the site. |
| wp-includes/general-template.php: wp_login_form() |
Provides a simple login form for use anywhere within WordPress. |
| wp-includes/general-template.php: wp_lostpassword_url() |
Returns the URL that allows the user to retrieve the lost password |
| wp-includes/general-template.php: wp_register() |
Display the Registration or Admin link. |
| wp-includes/general-template.php: get_search_form() |
Display search form. |
| wp-includes/deprecated.php: get_theme_data() |
Retrieve theme data from parsed theme file. |
| wp-includes/deprecated.php: get_boundary_post_rel_link() |
Get boundary post relational link. |
| wp-includes/deprecated.php: get_index_rel_link() |
Get site index relational link. |
| wp-includes/deprecated.php: get_parent_post_rel_link() |
Get parent post relational link. |
| wp-includes/deprecated.php: get_attachment_icon_src() |
Retrieve icon URL and Path. |
| wp-includes/deprecated.php: get_attachment_icon() |
Retrieve HTML content of icon attachment image element. |
| wp-includes/deprecated.php: get_attachment_innerHTML() |
Retrieve HTML content of image element. |
| wp-includes/deprecated.php: the_content_rss() |
Display the post content for the feed. |
| wp-includes/deprecated.php: get_links_list() |
Output entire list of links by category. |
| wp-includes/kses.php: safecss_filter_attr() |
Filters an inline style attribute and removes disallowed rules. |
| wp-includes/deprecated.php: previous_post() |
Prints a link to the previous post. |
| wp-includes/deprecated.php: next_post() |
Prints link to the next post. |
| wp-includes/class-wp-theme.php: WP_Theme::get_allowed() |
Returns array of stylesheet names of themes allowed on the site or network. |
| wp-includes/class-wp-theme.php: WP_Theme::get_allowed_on_network() |
Returns array of stylesheet names of themes allowed on the network. |
| wp-includes/class-wp-theme.php: WP_Theme::get_allowed_on_site() |
Returns array of stylesheet names of themes allowed on the site. |
| wp-includes/kses.php: wp_kses_allowed_html() |
Returns an array of allowed HTML tags and attributes for a given context. |
| wp-includes/kses.php: wp_kses_hook() |
You add any KSES hooks here. |
| wp-includes/class-wp-theme.php: WP_Theme::get_page_templates() |
Returns the theme’s post templates for a given post type. |
| wp-includes/class-wp-theme.php: WP_Theme::scandir() |
Scans a directory for files of a certain extension. |
| wp-includes/class-wp.php: WP::handle_404() |
Set the Headers for 404, if nothing is found for requested URL. |
| wp-includes/class-wp-theme.php: WP_Theme::__construct() |
Constructor for WP_Theme. |
| wp-includes/vars.php: wp_is_mobile() |
Test if the current browser runs on a mobile device (smart phone, tablet, etc.) |
| wp-includes/class-wp.php: WP::parse_request() |
Parse request to find correct WordPress query. |
| wp-includes/class-wp.php: WP::send_headers() |
Sends additional HTTP headers for caching, content type, etc. |
| wp-includes/class-wp.php: WP::build_query_string() |
Sets the query string property based off of the query variable property. |
| wp-includes/class-wp-query.php: WP_Query::get_posts() |
Retrieves an array of posts based on query variables. |
| wp-includes/class-wp-query.php: WP_Query::parse_search() |
Generates SQL for the WHERE clause based on passed search terms. |
| wp-includes/class-wp-query.php: WP_Query::get_search_stopwords() |
Retrieve stopwords used when parsing search terms. |
| wp-includes/query.php: wp_old_slug_redirect() |
Redirect old slugs to the correct permalink. |
| wp-includes/category.php: get_tags() |
Retrieves all post tags. |
| wp-includes/class-wp-image-editor-imagick.php: WP_Image_Editor_Imagick::_save() | |
| wp-includes/category.php: get_categories() |
Retrieve list of category objects. |
| wp-includes/load.php: wp_maintenance() |
Die with a maintenance message when conditions are met. |
| wp-includes/load.php: wp_debug_mode() |
Set PHP error reporting based on WordPress debug settings. |
| wp-includes/class-wp-http-cookie.php: WP_Http_Cookie::getHeaderValue() |
Convert cookie name and value back to header string. |
| wp-includes/class-wp-http-encoding.php: WP_Http_Encoding::accept_encoding() |
What encoding types to accept and their priority values. |
| wp-includes/class-wp-http-curl.php: WP_Http_Curl::test() |
Determines whether this class can be used for retrieving a URL. |
| wp-includes/class-wp-http-proxy.php: WP_HTTP_Proxy::send_through_proxy() |
Determines whether the request should be sent through a proxy. |
| wp-includes/class-wp-http-curl.php: WP_Http_Curl::request() |
Send a HTTP request to a URI using cURL extension. |
| wp-includes/class-wp-http-streams.php: WP_Http_Streams::request() |
Send a HTTP request to a URI using PHP Streams. |
| wp-includes/class-wp-http-streams.php: WP_Http_Streams::test() |
Determines whether this class can be used for retrieving a URL. |
| wp-includes/class-http.php: WP_Http::block_request() |
Determines whether an HTTP API request to the given URL should be blocked. |
| wp-includes/class-http.php: WP_Http::_get_first_available_transport() |
Tests which transports are capable of supporting the request. |
| wp-includes/class-http.php: WP_Http::_dispatch_request() |
Dispatches a HTTP request to a supporting transport. |
| wp-includes/class-http.php: WP_Http::request() |
Send an HTTP request to a URI. |
| wp-includes/functions.php: wp_allowed_protocols() |
Retrieve a list of protocols to allow in HTML attributes. |
| wp-includes/functions.php: wp_checkdate() |
Test if the supplied date is valid for the Gregorian calendar. |
| wp-includes/functions.php: wp_auth_check_load() |
Load the auth check for monitoring whether the user is still logged in. |
| wp-includes/functions.php: wp_auth_check_html() |
Output the HTML that shows the wp-login dialog when the user is no longer logged in. |
| wp-includes/functions.php: global_terms_enabled() |
Determine whether global terms are enabled. |
| wp-includes/functions.php: get_file_data() |
Retrieve metadata from a file. |
| wp-includes/functions.php: _deprecated_function() |
Mark a function as deprecated and inform when it has been used. |
| wp-includes/functions.php: _deprecated_file() |
Mark a file as deprecated and inform when it has been used. |
| wp-includes/functions.php: _deprecated_argument() |
Mark a function argument as deprecated and inform when it has been used. |
| wp-includes/functions.php: _doing_it_wrong() |
Mark something as being incorrectly called. |
| wp-includes/functions.php: iis7_supports_permalinks() |
Check if IIS 7+ supports pretty permalinks. |
| wp-includes/functions.php: smilies_init() |
Convert smiley code to the icon graphic file equivalent. |
| wp-includes/functions.php: wp_maybe_load_widgets() |
Determines if Widgets library should be loaded. |
| wp-includes/functions.php: wp_check_filetype_and_ext() |
Attempt to determine the real file type of a file. |
| wp-includes/functions.php: wp_get_mime_types() |
Retrieve list of mime types and file extensions. |
| wp-includes/functions.php: wp_upload_bits() |
Create a file in the upload folder with given content. |
| wp-includes/functions.php: get_allowed_mime_types() |
Retrieve list of allowed mime types and file extensions. |
| wp-includes/functions.php: wp_die() |
Kills WordPress execution and displays HTML page with an error message. |
| wp-includes/functions.php: do_robots() |
Displays the default robots.txt file content. |
| wp-includes/functions.php: wp_unique_filename() |
Get a filename that is sanitized and unique for the given directory. |
| wp-includes/functions.php: wp_upload_dir() |
Returns an array containing the current upload directory’s path and URL. |
| wp-includes/functions.php: status_header() |
Set HTTP status header. |
| wp-includes/functions.php: wp_get_nocache_headers() |
Get the header information to prevent caching. |
| wp-includes/functions.php: date_i18n() |
Retrieves the date in localized format, based on a sum of Unix timestamp and timezone offset in seconds. |
| wp-includes/functions.php: number_format_i18n() |
Convert float number to format based on the locale. |
| wp-includes/functions.php: do_enclose() |
Check content for video and audio links to add as enclosures. |
| wp-includes/widgets/class-wp-nav-menu-widget.php: WP_Nav_Menu_Widget::widget() |
Outputs the content for the current Navigation Menu widget instance. |
| wp-includes/widgets/class-wp-widget-tag-cloud.php: WP_Widget_Tag_Cloud::widget() |
Outputs the content for the current Tag Cloud widget instance. |
| wp-includes/widgets/class-wp-widget-rss.php: WP_Widget_RSS::widget() |
Outputs the content for the current RSS widget instance. |
| wp-includes/widgets/class-wp-widget-recent-comments.php: WP_Widget_Recent_Comments::recent_comments_style() |
Outputs the default styles for the Recent Comments widget. |
| wp-includes/widgets/class-wp-widget-recent-comments.php: WP_Widget_Recent_Comments::widget() |
Outputs the content for the current Recent Comments widget instance. |
| wp-includes/widgets/class-wp-widget-recent-posts.php: WP_Widget_Recent_Posts::widget() |
Outputs the content for the current Recent Posts widget instance. |
| wp-includes/widgets/class-wp-widget-text.php: WP_Widget_Text::widget() |
Outputs the content for the current Text widget instance. |
| wp-includes/widgets/class-wp-widget-text.php: WP_Widget_Text::form() |
Outputs the Text widget settings form. |
| wp-includes/widgets/class-wp-widget-calendar.php: WP_Widget_Calendar::widget() |
Outputs the content for the current Calendar widget instance. |
| wp-includes/widgets/class-wp-widget-categories.php: WP_Widget_Categories::widget() |
Outputs the content for the current Categories widget instance. |
| wp-includes/widgets/class-wp-widget-archives.php: WP_Widget_Archives::widget() |
Outputs the content for the current Archives widget instance. |
| wp-includes/widgets/class-wp-widget-search.php: WP_Widget_Search::widget() |
Outputs the content for the current Search widget instance. |
| wp-includes/widgets/class-wp-widget-meta.php: WP_Widget_Meta::widget() |
Outputs the content for the current Meta widget instance. |
| wp-includes/widgets/class-wp-widget-pages.php: WP_Widget_Pages::widget() |
Outputs the content for the current Pages widget instance. |
| wp-includes/widgets/class-wp-widget-links.php: WP_Widget_Links::widget() |
Outputs the content for the current Links widget instance. |
| wp-includes/class-wp-embed.php: WP_Embed::cache_oembed() |
Triggers a caching of all oEmbed results. |
| wp-includes/class-wp-embed.php: WP_Embed::maybe_make_link() |
Conditionally makes a hyperlink based on an internal class variable. |
| wp-includes/class-wp-embed.php: WP_Embed::shortcode() |
The do_shortcode() callback function. |
| wp-includes/class-wp-feed-cache-transient.php: WP_Feed_Cache_Transient::__construct() |
Constructor. |
| wp-includes/taxonomy.php: get_term_link() |
Generate a permalink for a taxonomy term archive. |
| wp-includes/taxonomy.php: get_ancestors() |
Get an array of ancestor IDs for a given object. |
| wp-includes/taxonomy.php: wp_unique_term_slug() |
Will make slug unique, if it isn’t already. |
| wp-includes/taxonomy.php: wp_update_term() |
Update term based on arguments provided. |
| wp-includes/taxonomy.php: wp_get_object_terms() |
Retrieves the terms associated with the given object(s), in the supplied taxonomies. |
| wp-includes/taxonomy.php: wp_insert_term() |
Add a new term to the database. |
| wp-includes/taxonomy.php: get_terms() |
Retrieve the terms in a given taxonomy or list of taxonomies. |
| wp-includes/taxonomy.php: sanitize_term_field() |
Cleanse the field value in the term based on the context. |
| wp-includes/taxonomy.php: create_initial_taxonomies() |
Creates the initial taxonomies. |
| wp-includes/taxonomy.php: get_taxonomy_labels() |
Builds an object with all taxonomy labels out of a taxonomy object. |
| wp-includes/taxonomy.php: get_term() |
Get all Term data from database by Term ID. |
| wp-includes/link-template.php: self_admin_url() |
Retrieves the URL to the admin area for either the current site or the network depending on context. |
| wp-includes/link-template.php: set_url_scheme() |
Sets the scheme for a URL. |
| wp-includes/link-template.php: get_dashboard_url() |
Retrieves the URL to the user’s dashboard. |
| wp-includes/link-template.php: get_edit_profile_url() |
Retrieves the URL to the user’s profile editor. |
| wp-includes/link-template.php: wp_get_shortlink() |
Returns a shortlink for a post, page, attachment, or site. |
| wp-includes/link-template.php: the_shortlink() |
Displays the shortlink for a post. |
| wp-includes/link-template.php: get_admin_url() |
Retrieves the URL to the admin area for a given site. |
| wp-includes/link-template.php: includes_url() |
Retrieves the URL to the includes directory. |
| wp-includes/link-template.php: content_url() |
Retrieves the URL to the content directory. |
| wp-includes/link-template.php: plugins_url() |
Retrieves a URL within the plugins or mu-plugins directory. |
| wp-includes/link-template.php: network_site_url() |
Retrieves the site URL for the current network. |
| wp-includes/link-template.php: network_home_url() |
Retrieves the home URL for the current network. |
| wp-includes/link-template.php: network_admin_url() |
Retrieves the URL to the admin area for the network. |
| wp-includes/link-template.php: user_admin_url() |
Retrieves the URL to the admin area for the current user. |
| wp-includes/link-template.php: get_comments_pagenum_link() |
Retrieves the comments page number link. |
| wp-includes/link-template.php: get_next_comments_link() |
Retrieves the link to the next comments page. |
| wp-includes/link-template.php: get_previous_comments_link() |
Retrieves the link to the previous comments page. |
| wp-includes/link-template.php: get_home_url() |
Retrieves the URL for a given site where the front end is accessible. |
| wp-includes/link-template.php: get_site_url() |
Retrieves the URL for a given site where WordPress application files (e.g. wp-blog-header.php or the wp-admin/ folder) are accessible. |
| wp-includes/deprecated.php: get_shortcut_link() |
Retrieves the Press This bookmarklet link. |
| wp-includes/link-template.php: get_adjacent_post_link() |
Retrieves the adjacent post link. |
| wp-includes/link-template.php: get_pagenum_link() |
Retrieves the link for a page number. |
| wp-includes/link-template.php: get_next_posts_link() |
Retrieves the next posts page link. |
| wp-includes/link-template.php: get_previous_posts_link() |
Retrieves the previous posts page link. |
| wp-includes/link-template.php: get_edit_user_link() |
Retrieves the edit user link. |
| wp-includes/link-template.php: get_adjacent_post() |
Retrieves the adjacent post. |
| wp-includes/link-template.php: get_adjacent_post_rel_link() |
Retrieves the adjacent post relational link. |
| wp-includes/link-template.php: get_search_comments_feed_link() |
Retrieves the permalink for the search results comments feed. |
| wp-includes/link-template.php: get_post_type_archive_link() |
Retrieves the permalink for a post type archive. |
| wp-includes/link-template.php: get_post_type_archive_feed_link() |
Retrieves the permalink for a post type archive feed. |
| wp-includes/link-template.php: get_edit_post_link() |
Retrieves the edit post link for post. |
| wp-includes/link-template.php: edit_post_link() |
Displays the edit post link for post. |
| wp-includes/link-template.php: get_delete_post_link() |
Retrieves the delete posts link for post. |
| wp-includes/link-template.php: get_edit_comment_link() |
Retrieves the edit comment link. |
| wp-includes/link-template.php: edit_comment_link() |
Displays the edit comment link with formatting. |
| wp-includes/link-template.php: get_edit_bookmark_link() |
Displays the edit bookmark link. |
| wp-includes/link-template.php: edit_bookmark_link() |
Displays the edit bookmark link anchor content. |
| wp-includes/link-template.php: get_term_feed_link() |
Retrieves the feed link for a term. |
| wp-includes/link-template.php: get_edit_tag_link() |
Retrieves the edit link for a tag. |
| wp-includes/link-template.php: edit_tag_link() |
Displays or retrieves the edit link for a tag with formatting. |
| wp-includes/link-template.php: get_edit_term_link() |
Retrieves the URL for editing a given term. |
| wp-includes/link-template.php: edit_term_link() |
Displays or retrieves the edit term link with formatting. |
| wp-includes/link-template.php: get_search_link() |
Retrieves the permalink for a search. |
| wp-includes/link-template.php: get_search_feed_link() |
Retrieves the permalink for the search results feed. |
| wp-includes/link-template.php: get_month_link() |
Retrieves the permalink for the month archives with year. |
| wp-includes/link-template.php: get_day_link() |
Retrieves the permalink for the day archives with year and month. |
| wp-includes/link-template.php: the_feed_link() |
Displays the permalink for the feed type. |
| wp-includes/link-template.php: get_feed_link() |
Retrieves the permalink for the feed type. |
| wp-includes/link-template.php: get_post_comments_feed_link() |
Retrieves the permalink for the post comments feed. |
| wp-includes/link-template.php: post_comments_feed_link() |
Displays the comment feed link for a post. |
| wp-includes/link-template.php: get_author_feed_link() |
Retrieves the feed link for a given author. |
| wp-includes/link-template.php: get_permalink() |
Retrieves the full permalink for the current post or post ID. |
| wp-includes/link-template.php: get_post_permalink() |
Retrieves the permalink for a post of a custom post type. |
| wp-includes/link-template.php: get_page_link() |
Retrieves the permalink for the current page or page ID. |
| wp-includes/link-template.php: _get_page_link() |
Retrieves the page permalink. |
| wp-includes/link-template.php: get_attachment_link() |
Retrieves the permalink for an attachment. |
| wp-includes/link-template.php: get_year_link() |
Retrieves the permalink for the year archives. |
| wp-includes/link-template.php: the_permalink() |
Displays the permalink for the current post. |
| wp-includes/link-template.php: user_trailingslashit() |
Retrieves a trailing-slashed string if the site is set for adding trailing slashes. |
| wp-includes/update.php: wp_version_check() |
Check WordPress version against the newest version. |
| wp-includes/update.php: wp_update_plugins() |
Check plugin versions against the latest versions hosted on WordPress.org. |
| wp-includes/update.php: wp_update_themes() |
Check theme versions against the latest versions hosted on WordPress.org. |
| wp-includes/update.php: wp_get_update_data() |
Collect counts and UI strings for available updates |
| wp-includes/http.php: is_allowed_http_origin() |
Determines if the HTTP origin is an authorized one. |
| wp-includes/http.php: wp_http_validate_url() |
Validate a URL for safe use in the HTTP API. |
| wp-includes/http.php: get_http_origin() |
Get the HTTP Origin of the current request. |
| wp-includes/http.php: get_allowed_http_origins() |
Retrieve list of allowed HTTP origins. |
| wp-includes/class-wp-date-query.php: WP_Date_Query::validate_column() |
Validates a column name parameter. |
| wp-includes/class-wp-date-query.php: WP_Date_Query::get_sql() |
Generate WHERE clause to be appended to a main query. |
| wp-includes/shortcodes.php: do_shortcode_tag() |
Regular Expression callable for do_shortcode() for calling shortcode hook. |
| wp-includes/shortcodes.php: shortcode_atts() |
Combine user attributes with known attributes and fill in defaults when needed. |
| wp-includes/shortcodes.php: strip_shortcodes() |
Remove all shortcode tags from the given content. |
| wp-includes/class-wp-image-editor.php: WP_Image_Editor::set_quality() |
Sets Image Compression quality on a 1-100% scale. |
| wp-includes/class-wp-image-editor.php: WP_Image_Editor::get_output_format() |
Returns preferred mime-type and extension based on provided file’s extension and mime, or current file’s extension and mime. |
| wp-includes/class-wp-oembed.php: WP_oEmbed::__construct() |
Constructor. |
| wp-includes/class-wp-oembed.php: WP_oEmbed::get_html() |
The do-it-all function that takes a URL and attempts to return the HTML. |
| wp-includes/class-wp-oembed.php: WP_oEmbed::discover() |
Attempts to discover link tags at the given URL for an oEmbed provider. |
| wp-includes/class-wp-oembed.php: WP_oEmbed::fetch() |
Connects to a oEmbed provider and returns the result. |
| wp-includes/class-wp-oembed.php: WP_oEmbed::_fetch_with_format() |
Fetches result from an oEmbed provider for a specific format and complete provider URL |
| wp-includes/class-wp-oembed.php: WP_oEmbed::data2html() |
Converts a data object from WP_oEmbed::fetch() and returns the HTML. |
| wp-includes/admin-bar.php: is_admin_bar_showing() |
Determines whether the admin bar should be showing. |
| wp-includes/admin-bar.php: _wp_admin_bar_init() |
Instantiate the admin bar object and set it up as a global for access elsewhere. |
| wp-includes/feed.php: get_the_category_rss() |
Retrieve all of the post categories, formatted for use in feeds. |
| wp-includes/feed.php: rss_enclosure() |
Display the rss enclosure for the current post. |
| wp-includes/feed.php: atom_enclosure() |
Display the atom enclosure for the current post. |
| wp-includes/feed.php: self_link() |
Display the link for the currently displayed feed in a XSS safe way. |
| wp-includes/feed.php: feed_content_type() |
Return the content type for specified feed type. |
| wp-includes/feed.php: fetch_feed() |
Build SimplePie object based on RSS or Atom feed from URL. |
| wp-includes/feed.php: get_the_content_feed() |
Retrieve the post content for feeds. |
| wp-includes/feed.php: the_excerpt_rss() |
Display the post excerpt for the feed. |
| wp-includes/feed.php: the_permalink_rss() |
Display the permalink to the post for use in feeds. |
| wp-includes/feed.php: comments_link_feed() |
Outputs the link to the comments for the current post in an xml safe way |
| wp-includes/feed.php: comment_link() |
Display the link to the comments. |
| wp-includes/feed.php: get_comment_author_rss() |
Retrieve the current comment author for use in the feeds. |
| wp-includes/feed.php: comment_text_rss() |
Display the current comment content for use in the feeds. |
| wp-includes/feed.php: get_bloginfo_rss() |
RSS container for the bloginfo function. |
| wp-includes/feed.php: bloginfo_rss() |
Display RSS container for the bloginfo function. |
| wp-includes/feed.php: get_default_feed() |
Retrieve the default feed. |
| wp-includes/feed.php: get_wp_title_rss() |
Retrieve the blog title for the feed title. |
| wp-includes/feed.php: wp_title_rss() |
Display the blog title for display of the feed title. |
| wp-includes/feed.php: get_the_title_rss() |
Retrieve the current post title for the feed. |
| wp-includes/class-wp-customize-setting.php: WP_Customize_Setting::value() |
Fetch the value of the setting. |
| wp-includes/class-wp-customize-setting.php: WP_Customize_Setting::js_value() |
Sanitize the setting’s value for use in JavaScript. |
| wp-includes/class-wp-customize-setting.php: WP_Customize_Setting::sanitize() |
Sanitize an input. |
| wp-includes/option.php: set_site_transient() |
Set/update the value of a site transient. |
| wp-includes/option.php: get_site_transient() |
Get the value of a site transient. |
| wp-includes/option.php: get_transient() |
Get the value of a transient. |
| wp-includes/option.php: set_transient() |
Set/update the value of a transient. |
| wp-includes/option.php: wp_load_alloptions() |
Loads and caches all autoloaded options, if available or all options. |
| wp-includes/option.php: add_option() |
Add a new option. |
| wp-includes/option.php: update_option() |
Update the value of an option that was already added. |
| wp-includes/option.php: get_option() |
Retrieves an option value based on an option name. |
| wp-includes/class-wp-user-query.php: WP_User_Query::prepare_query() |
Prepare the query variables. |
| wp-includes/class-wp-user-query.php: WP_User_Query::query() |
Execute the query, with the current variables. |
| wp-includes/user.php: wp_update_user() |
Update a user in the database. |
| wp-includes/user.php: wp_get_user_contact_methods() |
Set up the user contact methods. |
| wp-includes/user.php: check_password_reset_key() |
Retrieves a user row based on password reset key and login |
| wp-includes/user.php: register_new_user() |
Handles registering a new user. |
| wp-includes/user.php: username_exists() |
Determines whether the given username exists. |
| wp-includes/user.php: validate_username() |
Checks whether a username is valid. |
| wp-includes/user.php: wp_insert_user() |
Insert a user into the database. |
| wp-includes/user.php: get_blogs_of_user() |
Get the sites a user belongs to. |
| wp-includes/user.php: count_users() |
Count number of users who have each of the user roles. |
| wp-includes/user.php: wp_dropdown_users() |
Create dropdown HTML content of users. |
| wp-includes/user.php: sanitize_user_field() |
Sanitize user field based on context. |
| wp-includes/user.php: wp_authenticate_username_password() |
Authenticate a user, confirming the username and password are valid. |
| wp-includes/user.php: wp_authenticate_spam_check() |
For Multisite blogs, check if the authenticated user has been marked as a spammer, or if the user’s primary blog has been marked as spam. |
| wp-includes/user.php: count_user_posts() |
Number of posts user has written. |
| wp-includes/user.php: get_user_option() |
Retrieve user option that can be either per Site or per Network. |
| wp-includes/user.php: wp_signon() |
Authenticates and logs a user in with ‘remember’ capability. |
| wp-includes/bookmark-template.php: wp_list_bookmarks() |
Retrieve or echo all of the bookmarks. |
| wp-includes/template.php: get_query_template() |
Retrieve path to a template |
| wp-includes/class-wp-image-editor-gd.php: WP_Image_Editor_GD::_save() | |
| wp-includes/class-walker-nav-menu.php: Walker_Nav_Menu::start_el() |
Starts the element output. |
| wp-includes/post-thumbnail-template.php: has_post_thumbnail() |
Determines whether a post has an image attached. |
| wp-includes/post-thumbnail-template.php: get_the_post_thumbnail() |
Retrieve the post thumbnail. |
| wp-includes/class-walker-page-dropdown.php: Walker_PageDropdown::start_el() |
Starts the element output. |
| wp-includes/class-walker-nav-menu.php: Walker_Nav_Menu::start_lvl() |
Starts the list before the elements are added. |
| wp-includes/nav-menu-template.php: wp_nav_menu() |
Displays a navigation menu. |
| wp-includes/class-walker-page.php: Walker_Page::start_el() |
Outputs the beginning of the current element in the tree. |
| wp-includes/post-template.php: wp_get_attachment_link() |
Retrieve an attachment page link using an image or icon, if possible. |
| wp-includes/post-template.php: prepend_attachment() |
Wrap attachment in paragraph tag before content. |
| wp-includes/post-template.php: get_the_password_form() |
Retrieve protected post password form content. |
| wp-includes/post-template.php: wp_post_revision_title_expanded() |
Retrieve formatted date timestamp of a revision (linked to that revisions’s page). |
| wp-includes/post-template.php: post_password_required() |
Whether post requires password and correct password has been provided. |
| wp-includes/post-template.php: wp_link_pages() |
The formatted output of a list of pages. |
| wp-includes/post-template.php: wp_dropdown_pages() |
Retrieve or display a list of pages as a dropdown (select list). |
| wp-includes/post-template.php: wp_list_pages() |
Retrieve or display a list of pages (or hierarchical post type items) in list (li) format. |
| wp-includes/post-template.php: wp_page_menu() |
Displays or retrieves a list of pages with an optional home link. |
| wp-includes/post-template.php: get_the_guid() |
Retrieve the Post Global Unique Identifier (guid). |
| wp-includes/post-template.php: the_content() |
Display the post content. |
| wp-includes/post-template.php: get_the_content() |
Retrieve the post content. |
| wp-includes/post-template.php: the_excerpt() |
Display the post excerpt. |
| wp-includes/post-template.php: get_the_excerpt() |
Retrieves the post excerpt. |
| wp-includes/post-template.php: get_body_class() |
Retrieves an array of the class names for the body element. |
| wp-includes/post-template.php: get_post_class() |
Retrieves an array of the class names for the post container element. |
| wp-includes/post-template.php: get_the_title() |
Retrieve post title. |
| wp-includes/post-template.php: the_guid() |
Display the Post Global Unique Identifier (guid). |
| wp-includes/media.php: get_media_embedded_in_content() |
Check the content blob for an audio, video, object, embed, or iframe tags. |
| wp-includes/media.php: get_post_galleries() |
Retrieves galleries from the passed post’s content. |
| wp-includes/media.php: get_post_gallery() |
Check a specified post’s content for gallery and, if present, return the first |
| wp-includes/media.php: wp_max_upload_size() |
Determines the maximum upload size allowed in php.ini. |
| wp-includes/media.php: wp_plupload_default_settings() |
Prints default Plupload arguments. |
| wp-includes/media.php: wp_prepare_attachment_for_js() |
Prepares an attachment post object for JS, where it is expected to be JSON-encoded and fit into an Attachment model. |
| wp-includes/media.php: wp_enqueue_media() |
Enqueues all scripts, styles, settings, and templates necessary to use all media JS APIs. |
| wp-includes/media.php: get_attached_media() |
Retrieves media attached to the passed post. |
| wp-includes/embed.php: wp_embed_defaults() |
Creates default array of embed parameters. |
| wp-includes/embed.php: wp_maybe_load_embeds() |
Determines if default embed handlers should be loaded. |
| wp-includes/embed.php: wp_embed_handler_audio() |
Audio embed handler callback. |
| wp-includes/embed.php: wp_embed_handler_video() |
Video embed handler callback. |
| wp-includes/media.php: wp_get_video_extensions() |
Returns a filtered list of WP-supported video formats. |
| wp-includes/media.php: wp_video_shortcode() |
Builds the Video shortcode output. |
| wp-includes/media.php: adjacent_image_link() |
Displays next or previous image link that has the same post parent. |
| wp-includes/media.php: gallery_shortcode() |
Builds the Gallery shortcode output. |
| wp-includes/media.php: wp_playlist_shortcode() |
Builds the Playlist shortcode output. |
| wp-includes/media.php: wp_mediaelement_fallback() |
Provides a No-JS Flash fallback as a last resort for audio / video. |
| wp-includes/media.php: wp_get_audio_extensions() |
Returns a filtered list of WP-supported audio formats. |
| wp-includes/media.php: wp_get_attachment_id3_keys() |
Returns useful keys to use to lookup data from an attachment’s stored metadata. |
| wp-includes/media.php: wp_audio_shortcode() |
Builds the Audio shortcode output. |
| wp-includes/media.php: get_image_tag() |
Gets an img tag for an image attachment, scaling it down if requested. |
| wp-includes/media.php: wp_constrain_dimensions() |
Calculates the new dimensions for a down-sampled image. |
| wp-includes/media.php: image_resize_dimensions() |
Retrieves calculated resize dimensions for use in WP_Image_Editor. |
| wp-includes/media.php: image_get_intermediate_size() |
Retrieves the image’s intermediate size (resized) path, width, and height. |
| wp-includes/media.php: get_intermediate_image_sizes() |
Gets the available intermediate image sizes. |
| wp-includes/media.php: wp_get_attachment_image_src() |
Retrieve an image to represent an attachment. |
| wp-includes/media.php: wp_get_attachment_image() |
Get an HTML img element representing an image attachment |
| wp-includes/media.php: img_caption_shortcode() |
Builds the Caption shortcode output. |
| wp-includes/media.php: image_constrain_size_for_editor() |
Scale down the default size of an image. |
| wp-includes/media.php: image_downsize() |
Scale an image to fit a particular size (such as ‘thumb’ or ‘medium’). |
| wp-includes/post.php: wp_mime_type_icon() |
Retrieve the icon for a MIME type. |
| wp-includes/post.php: get_posts_by_author_sql() |
Retrieve the post SQL based on capability, author, and type. |
| wp-includes/post.php: get_lastpostdate() |
Retrieves the most recent time that a post on the site was published. |
| wp-includes/post.php: get_lastpostmodified() |
Get the most recent time that a post on the site was modified. |
| wp-includes/post.php: wp_get_attachment_metadata() |
Retrieve attachment meta field for attachment ID. |
| wp-includes/post.php: wp_update_attachment_metadata() |
Update metadata for an attachment. |
| wp-includes/post.php: wp_get_attachment_url() |
Retrieve the URL for an attachment. |
| wp-includes/post.php: wp_get_attachment_thumb_file() |
Retrieve thumbnail for an attachment. |
| wp-includes/post.php: wp_get_attachment_thumb_url() |
Retrieve URL for an attachment thumbnail. |
| wp-includes/post.php: get_enclosed() |
Retrieve enclosures already enclosed for a post. |
| wp-includes/post.php: get_pung() |
Retrieve URLs already pinged for a post. |
| wp-includes/post.php: get_to_ping() |
Retrieve URLs that need to be pinged. |
| wp-includes/post.php: get_page_uri() |
Build the URI path for a page. |
| wp-includes/post.php: get_pages() |
Retrieve a list of pages (or hierarchical post type items). |
| wp-includes/post.php: wp_unique_post_slug() |
Computes a unique slug for the post, when given the desired slug and some post details. |
| wp-includes/post.php: add_ping() |
Add a URL to those already pinged. |
| wp-includes/post.php: wp_insert_post() |
Insert or update a post. |
| wp-includes/post.php: get_post_mime_types() |
Get default post mime types. |
| wp-includes/post.php: wp_delete_post() |
Trash or delete a post or page. |
| wp-includes/post.php: wp_trash_post() |
Move a post or page to the Trash |
| wp-includes/post.php: wp_untrash_post() |
Restore a post or page from the Trash. |
| wp-includes/post.php: is_sticky() |
Determines whether a post is sticky. |
| wp-includes/post.php: sanitize_post_field() |
Sanitize post field based on context. |
| wp-includes/post.php: wp_count_posts() |
Count number of posts of a post type and if user has permissions to view. |
| wp-includes/post.php: wp_count_attachments() |
Count number of attachments for the mime type(s). |
| wp-includes/post.php: get_post_type_labels() |
Builds an object with all post type labels out of a post type object. |
| wp-includes/post.php: get_post_status() |
Retrieve the post status based on the post ID. |
| wp-includes/post.php: get_attached_file() |
Retrieve attached file path based on attachment ID. |
| wp-includes/post.php: update_attached_file() |
Update attachment file path based on attachment ID. |
| wp-includes/post.php: _wp_relative_upload_path() |
Return relative path to an uploaded file. |
| wp-includes/class-wp-rewrite.php: WP_Rewrite::mod_rewrite_rules() |
Retrieves mod_rewrite-formatted rewrite rules to write to .htaccess. |
| wp-includes/class-wp-rewrite.php: WP_Rewrite::iis7_url_rewrite_rules() |
Retrieves IIS7 URL Rewrite formatted rewrite rules to write to web.config file. |
| wp-includes/class-wp-rewrite.php: WP_Rewrite::flush_rules() |
Removes rewrite rules and then recreate rewrite rules. |
| wp-includes/class-wp-rewrite.php: WP_Rewrite::rewrite_rules() |
Constructs rewrite matches and queries from permalink structure. |
| wp-includes/rewrite.php: url_to_postid() |
Examine a URL and try to determine the post ID it represents. |
| wp-includes/canonical.php: redirect_canonical() |
Redirects incoming links to the proper URL based on the site url. |
| wp-includes/revision.php: wp_revisions_to_keep() |
Determine how many revisions to retain for a given post. |
| wp-includes/ms-functions.php: get_space_used() |
Returns the space used by the current site. |
| wp-includes/ms-functions.php: get_space_allowed() |
Returns the upload quota for the current blog. |
| wp-includes/ms-functions.php: wp_is_large_network() |
Whether or not we have a large network. |
| wp-includes/revision.php: _wp_post_revision_fields() |
Determines which fields of posts are to be saved in revisions. |
| wp-includes/revision.php: wp_save_post_revision() |
Creates a revision for the current version of a post. |
| wp-includes/ms-functions.php: wp_maybe_update_network_site_counts() |
Update the count of sites for the current network. |
| wp-includes/ms-functions.php: wp_maybe_update_network_user_counts() |
Update the network-wide users count. |
| wp-includes/ms-functions.php: wpmu_welcome_user_notification() |
Notify a user that their account activation has been successful. |
| wp-includes/ms-functions.php: maybe_redirect_404() |
Correct 404 redirects when NOBLOGREDIRECT is defined. |
| wp-includes/ms-functions.php: newblog_notify_siteadmin() |
Notifies the network admin that a new site has been activated. |
| wp-includes/ms-functions.php: newuser_notify_siteadmin() |
Notifies the network admin that a new user has been activated. |
| wp-includes/ms-functions.php: domain_exists() |
Checks whether a site name is already taken. |
| wp-includes/ms-functions.php: wpmu_welcome_notification() |
Notify a user that their blog activation has been successful. |
| wp-includes/ms-functions.php: is_email_address_unsafe() |
Checks an email address against a list of banned domains. |
| wp-includes/ms-functions.php: wpmu_signup_blog() |
Record site signup information for future activation. |
| wp-includes/ms-functions.php: wpmu_signup_user() |
Record user signup information for future activation. |
| wp-includes/ms-functions.php: wpmu_validate_user_signup() |
Sanitize and validate data required for a user sign-up. |
| wp-includes/ms-functions.php: wpmu_validate_blog_signup() |
Processes new site registrations. |
| wp-includes/ms-functions.php: wpmu_signup_blog_notification() |
Send a confirmation request email to a user when they sign up for a new site. The new site will not become active until the confirmation link is clicked. |
| wp-includes/ms-functions.php: wpmu_signup_user_notification() |
Send a confirmation request email to a user when they sign up for a new user account (without signing up for a site at the same time). The user account will not become active until the confirmation link is clicked. |
| wp-includes/bookmark.php: sanitize_bookmark_field() |
Sanitizes a bookmark field. |
| wp-includes/ms-functions.php: add_user_to_blog() |
Adds a user to a blog. |
| wp-includes/class-wp-http-ixr-client.php: WP_HTTP_IXR_Client::query() | |
| wp-includes/ms-load.php: get_site_by_path() |
Retrieves the closest matching site object by its domain and path. |
| wp-includes/bookmark.php: get_bookmarks() |
Retrieves the list of bookmarks |
| wp-includes/ms-load.php: ms_site_check() |
Checks status of current blog. |
| wp-includes/ms-deprecated.php: graceful_fail() |
Deprecated functionality to gracefully fail. |
| wp-includes/class.wp-scripts.php: WP_Scripts::do_item() |
Processes a script dependency. |
| wp-includes/class.wp-scripts.php: WP_Scripts::all_deps() |
Determines script dependencies. |
| wp-includes/author-template.php: the_author_meta() |
Outputs the field from the user’s DB object. Defaults to current post’s author. |
| wp-includes/author-template.php: get_the_author_meta() |
Retrieves the requested data of the author of the current post. |
| wp-includes/author-template.php: get_author_posts_url() |
Retrieve the URL to the author page for the user with the ID provided. |
| wp-includes/author-template.php: is_multi_author() |
Determines whether this site has more than one author. |
| wp-includes/author-template.php: get_the_author() |
Retrieve the author of the current post. |
| wp-includes/author-template.php: get_the_modified_author() |
Retrieve the author who last edited the current post. |
| wp-includes/ms-blogs.php: get_blog_option() |
Retrieve option value for a given blog id based on name of option. |
| wp-includes/nav-menu.php: wp_setup_nav_menu_item() |
Decorates a menu item object with the shared navigation menu item properties. |
| wp-includes/nav-menu.php: has_nav_menu() |
Determines whether a registered nav menu location has a menu assigned to it. |
| wp-includes/nav-menu.php: wp_get_nav_menus() |
Returns all navigation menu objects. |
| wp-includes/nav-menu.php: wp_get_nav_menu_items() |
Retrieves all menu items of a navigation menu. |
| wp-includes/nav-menu.php: wp_get_nav_menu_object() |
Returns a navigation menu object. |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::mt_supportedTextFilters() |
Retrieve an empty array because we don’t support per-post text filters. |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::pingback_ping() |
Retrieves a pingback and registers it. |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::pingback_error() |
Sends a pingback error based on the given error code and message. |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::mw_newMediaObject() |
Uploads a file, following your settings. |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getPostType() |
Retrieves a post type |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getPostTypes() |
Retrieves a post types |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getRevisions() |
Retrieve revisions for a specific post. |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_newComment() |
Create new comment. |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getPosts() |
Retrieve posts. |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getTaxonomy() |
Retrieve a taxonomy. |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getTaxonomies() |
Retrieve all taxonomies. |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getUser() |
Retrieve a user. |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getUsers() |
Retrieve users. |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getProfile() |
Retrieve information about the requesting user. |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::_prepare_page() |
Prepares page data for return in an XML-RPC object. |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::_prepare_comment() |
Prepares comment data for return in an XML-RPC object. |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::_prepare_user() |
Prepares user data for return in an XML-RPC object. |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::_insert_post() |
Helper method for wp_newPost() and wp_editPost(), containing shared logic. |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getPost() |
Retrieve a post. |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::_prepare_taxonomy() |
Prepares taxonomy data for return in an XML-RPC object. |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::_prepare_term() |
Prepares term data for return in an XML-RPC object. |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::_prepare_post() |
Prepares post data for return in an XML-RPC object. |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::_prepare_post_type() |
Prepares post data for return in an XML-RPC object. |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::_prepare_media_item() |
Prepares media item data for return in an XML-RPC object. |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::__construct() |
Registers all of the XMLRPC methods that XMLRPC server understands. |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::login() |
Log user in. |
| wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::initialise_blog_option_info() |
Set up blog options property. |
| wp-includes/wp-db.php: wpdb::query() |
Perform a MySQL database query, using current database connection. |
| wp-includes/wp-db.php: wpdb::set_sql_mode() |
Change the current SQL mode, and ensure its WordPress compatibility. |
| wp-includes/class-wp-widget.php: WP_Widget::display_callback() |
Generates the actual widget content (Do NOT override). |
| wp-includes/class-wp-widget.php: WP_Widget::update_callback() |
Handles changed settings (Do NOT override). |
| wp-includes/class-wp-widget.php: WP_Widget::form_callback() |
Generates the widget control form (Do NOT override). |
| wp-includes/widgets.php: dynamic_sidebar() |
Display dynamic sidebar. |
| wp-includes/widgets.php: is_active_sidebar() |
Determines whether a sidebar is in use. |
| wp-includes/widgets.php: wp_get_sidebars_widgets() |
Retrieve full list of sidebars and their widget instance IDs. |
| wp-includes/widgets.php: the_widget() |
Output an arbitrary widget as a template tag. |
| wp-includes/widgets.php: register_sidebar() |
Builds the definition for a single sidebar and returns the ID. |
| wp-includes/comment-template.php: get_post_reply_link() |
Retrieve HTML content for reply to post link. |
| wp-includes/comment-template.php: get_cancel_comment_reply_link() |
Retrieve HTML content for cancel comment reply link. |
| wp-includes/comment-template.php: get_comment_id_fields() |
Retrieve hidden input HTML for replying to comments. |
| wp-includes/comment-template.php: wp_list_comments() |
List comments. |
| wp-includes/comment-template.php: comment_form() |
Outputs a complete commenting form for use within a template. |
| wp-includes/comment-template.php: get_trackback_url() |
Retrieve The current post’s trackback URL. |
| wp-includes/comment-template.php: comments_open() |
Determines whether the current post is open for comments. |
| wp-includes/comment-template.php: pings_open() |
Determines whether the current post is open for pings. |
| wp-includes/comment-template.php: comments_popup_link() |
Displays the link to the comments for the current post ID. |
| wp-includes/comment-template.php: comments_template() |
Load the comment template specified in $file. |
| wp-includes/comment-template.php: get_comment_reply_link() |
Retrieve HTML content for reply to comment link. |
| wp-includes/comment-template.php: get_comment_link() |
Retrieve the link to a given comment. |
| wp-includes/comment-template.php: get_comments_link() |
Retrieves the link to the current post comments. |
| wp-includes/comment-template.php: get_comments_number() |
Retrieves the amount of comments a post has. |
| wp-includes/comment-template.php: get_comment_text() |
Retrieve the text of the current comment. |
| wp-includes/comment-template.php: comment_text() |
Display the text of the current comment. |
| wp-includes/comment-template.php: get_comment_time() |
Retrieve the comment time of the current comment. |
| wp-includes/comment-template.php: get_comment_type() |
Retrieve the comment type of the current comment. |
| wp-includes/comment-template.php: comment_author_url() |
Display the url of the author of the current comment. |
| wp-includes/comment-template.php: get_comment_author_url_link() |
Retrieves the HTML link of the url of the author of the current comment. |
| wp-includes/comment-template.php: get_comment_class() |
Returns the classes for the comment div as an array. |
| wp-includes/comment-template.php: get_comment_date() |
Retrieve the comment date of the current comment. |
| wp-includes/comment-template.php: get_comment_excerpt() |
Retrieves the excerpt of the given comment. |
| wp-includes/comment-template.php: comment_excerpt() |
Display the excerpt of the current comment. |
| wp-includes/comment-template.php: get_comment_ID() |
Retrieve the comment id of the current comment. |
| wp-includes/comment-template.php: get_comment_author() |
Retrieve the author of the current comment. |
| wp-includes/comment-template.php: comment_author() |
Displays the author of the current comment. |
| wp-includes/comment-template.php: get_comment_author_email() |
Retrieve the email of the author of the current comment. |
| wp-includes/comment-template.php: comment_author_email() |
Display the email of the author of the current global $comment. |
| wp-includes/comment-template.php: get_comment_author_email_link() |
Return the html email link to the author of the current comment. |
| wp-includes/comment-template.php: get_comment_author_link() |
Retrieve the HTML link to the URL of the author of the current comment. |
| wp-includes/comment-template.php: get_comment_author_IP() |
Retrieve the IP address of the author of the current comment. |
| wp-includes/comment-template.php: get_comment_author_url() |
Retrieve the url of the author of the current comment. |
| wp-includes/class-wp-customize-widgets.php: WP_Customize_Widgets::capture_filter_pre_get_option() |
Pre-filters captured option values before retrieving. |
| wp-includes/class-wp-customize-widgets.php: WP_Customize_Widgets::get_setting_args() |
Retrieves common arguments to supply when constructing a Customizer setting. |
| wp-includes/class-wp-customize-widgets.php: WP_Customize_Widgets::customize_register() |
Registers Customizer settings and controls for all sidebars and widgets. |
| wp-includes/class-wp-customize-widgets.php: WP_Customize_Widgets::is_wide_widget() |
Determines whether the widget is considered “wide”. |
| wp-includes/script-loader.php: print_head_scripts() |
Prints the script queue in the HTML head on admin pages. |
| wp-includes/script-loader.php: print_footer_scripts() |
Prints the scripts that were queued for the footer or too late for the HTML head. |
| wp-includes/script-loader.php: print_admin_styles() |
Prints the styles queue in the HTML head on admin pages. |
| wp-includes/script-loader.php: print_late_styles() |
Prints the styles that were queued too late for the HTML head. |
| wp-includes/script-loader.php: wp_default_scripts() |
Register all WordPress scripts. |
| wp-includes/comment.php: _close_comments_for_old_posts() |
Close comments on old posts on the fly, without any extra DB queries. Hooked to the_posts. |
| wp-includes/comment.php: _close_comments_for_old_post() |
Close comments on an old post. Hooked to comments_open and pings_open. |
| wp-includes/comment.php: wp_new_comment() |
Adds a new comment to the database. |
| wp-includes/comment.php: wp_update_comment() |
Updates an existing comment in the database. |
| wp-includes/comment.php: wp_update_comment_count_now() |
Updates the comment count for the post. |
| wp-includes/comment.php: do_trackbacks() |
Perform trackbacks. |
| wp-includes/comment.php: pingback() |
Pings back the links found in a post. |
| wp-includes/comment.php: wp_get_current_commenter() |
Get current commenter’s name, email, and URL. |
| wp-includes/comment.php: wp_filter_comment() |
Filters and sanitizes comment data. |
| wp-includes/comment.php: get_page_of_comment() |
Calculate what page number a comment will appear on for comment paging. |
| wp-includes/comment.php: wp_count_comments() |
Retrieves the total comment counts for the whole site or a single post. |
| wp-includes/comment.php: wp_set_comment_cookies() |
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. |
| wp-includes/comment.php: sanitize_comment_cookies() |
Sanitizes the cookies sent to the user already. |
| wp-includes/comment.php: wp_allow_comment() |
Validates whether this comment is allowed to be made. |
| wp-includes/comment.php: get_comment() |
Retrieves comment data given a comment ID or comment object. |
| wp-includes/comment.php: check_comment() |
Check whether a comment passes internal checks to be allowed to add. |
| wp-includes/meta.php: is_protected_meta() |
Determines whether a meta key is considered protected. |
| wp-includes/meta.php: sanitize_meta() |
Sanitize meta value. |
| wp-includes/meta.php: register_meta() |
Registers a meta key. |
| wp-includes/meta.php: delete_metadata() |
Delete metadata for the specified object. |
| wp-includes/meta.php: get_metadata() |
Retrieve metadata for the specified object. |
| wp-includes/meta.php: metadata_exists() |
Determine if a meta key is set for a given object |
| wp-includes/meta.php: get_metadata_by_mid() |
Get meta data by meta ID |
| wp-includes/meta.php: update_metadata_by_mid() |
Update meta data by meta ID |
| wp-includes/meta.php: delete_metadata_by_mid() |
Delete meta data by meta ID |
| wp-includes/meta.php: update_meta_cache() |
Update the metadata cache for the specified objects. |
| wp-includes/class-wp-editor.php: _WP_Editors::wp_link_query() |
Performs post queries for internal linking. |
| wp-includes/meta.php: add_metadata() |
Add metadata for the specified object. |
| wp-includes/meta.php: update_metadata() |
Update metadata for the specified object. If no value already exists for the specified object ID and metadata key, the metadata will be added. |
| wp-includes/class-wp-editor.php: _WP_Editors::editor_settings() | |
| wp-includes/class-wp-editor.php: _WP_Editors::wp_mce_translation() |
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-includes/class-wp-editor.php: _WP_Editors::parse_settings() |
Parse default arguments for the editor instance. |
| wp-includes/class-wp-editor.php: _WP_Editors::editor() |
Outputs the HTML for a single instance of the editor. |
| wp-includes/media-template.php: wp_print_media_templates() |
Prints the templates used in the media manager. |
User Contributed Notes #User Contributed Notes
You must log in before being able to contribute a note or feedback.
Echo after Filtering
Get Filtered
Additional Filter Arguments
For example:
With the_title filter
$my_custom_title = apply_filters('the_title', ' My Custom Title (tm) '); $my_custom_title will now contain 'My Custom Title ™', since the_title filter applies wptexturize() and trim(), among others.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()Uh huh.
apply_filters ( string $tag, mixed $value );
function apply_filters( $tag, $value )
Parameters:
$tag — (string) (Required) The name of the filter hook.
$value — (mixed) (Required) The value on which the filters hooked to
$tagare applied on.$var — (mixed) (Required) Additional variables passed to the functions hooked to
$tag.Right. Tip: this does not make sense, in case you missed it.