apply_block_hooks_to_content_from_post_object()wp-includes/blocks.php |
Run the Block Hooks algorithm on a post object’s content.
|
insert_hooked_blocks_into_rest_response()wp-includes/blocks.php |
Hooks into the REST API response for the Posts endpoint and adds the first and last inner blocks.
|
apply_block_hooks_to_content()wp-includes/blocks.php |
Runs the hooked blocks algorithm on the given content.
|
wp_font_dir()wp-includes/fonts.php |
Returns an array containing the current fonts upload directory’s path and URL.
|
WP_REST_Font_Faces_Controller::handle_font_file_upload()wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php |
Handles the upload of a font file using wp_handle_upload() .
|
_wp_footnotes_remove_filters()wp-includes/blocks.php |
Removes the filters for footnotes meta field.
|
_wp_get_iframed_editor_assets()wp-includes/block-editor.php |
Collect the block editor assets that need to be loaded into the editor’s iframe.
|
WP_REST_Menu_Items_Controller::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php |
Prepares a single nav menu item output for response.
|
WP_REST_Global_Styles_Controller::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php |
Prepare a global styles config output for response.
|
_resolve_template_for_new_post()wp-includes/block-template.php |
Sets the current WP_Query to return auto-draft posts.
|
wp_pre_kses_block_attributes()wp-includes/formatting.php |
Removes non-allowable HTML from parsed block attribute values when filtering in the post context.
|
WP_REST_Post_Search_Handler::prepare_item()wp-includes/rest-api/search/class-wp-rest-post-search-handler.php |
Prepares the search result for a given post ID.
|
do_blocks()wp-includes/blocks.php |
Parses dynamic blocks out of post_content and re-renders them.
|
_restore_wpautop_hook()wp-includes/blocks.php |
If do_blocks() needs to remove wpautop() from the the_content filter, this re-adds it afterwards, for subsequent the_content usage.
|
WP_Widget_Custom_HTML::widget()wp-includes/widgets/class-wp-widget-custom-html.php |
Outputs the content for the current Custom HTML widget instance.
|
WP_Widget_Media_Video::render_media()wp-includes/widgets/class-wp-widget-media-video.php |
Render the media on the frontend.
|
WP_Customize_Manager::save_changeset_post()wp-includes/class-wp-customize-manager.php |
Saves the post for the loaded changeset.
|
WP_REST_Posts_Controller::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php |
Prepares a single post output for response.
|
WP_REST_Posts_Controller::get_items()wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php |
Retrieves a collection of posts.
|
WP_REST_Comments_Controller::check_read_post_permission()wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php |
Checks if the post can be read.
|
WP_Taxonomy::remove_hooks()wp-includes/class-wp-taxonomy.php |
Removes the ajax callback for the meta box.
|
WP_Customize_Nav_Menus::insert_auto_draft_post()wp-includes/class-wp-customize-nav-menus.php |
Adds a new auto-draft post.
|
_filter_query_attachment_filenames()wp-includes/deprecated.php |
Filter the SQL clauses of an attachment query to include filenames.
|
unregister_meta_key()wp-includes/meta.php |
Unregisters a meta key from the list of registered keys.
|
WP_Metadata_Lazyloader::reset_queue()wp-includes/class-wp-metadata-lazyloader.php |
Resets lazy-load queue for a given object type.
|
WP_Customize_Widgets::render_widget_partial()wp-includes/class-wp-customize-widgets.php |
Renders a specific widget using the supplied sidebar arguments.
|
wp_handle_comment_submission()wp-includes/comment.php |
Handles the submission of a comment, usually posted to wp-comments-post.php via a comment form.
|
WP_Customize_Nav_Menus::customize_register()wp-includes/class-wp-customize-nav-menus.php |
Adds the customizer settings and controls.
|
wp_ajax_crop_image()wp-admin/includes/ajax-actions.php |
Handles cropping an image via AJAX.
|
Language_Pack_Upgrader::bulk_upgrade()wp-admin/includes/class-language-pack-upgrader.php |
Upgrades several language packs at once.
|
Plugin_Upgrader::bulk_upgrade()wp-admin/includes/class-plugin-upgrader.php |
Upgrades several plugins at once.
|
Theme_Upgrader::check_parent_theme_filter()wp-admin/includes/class-theme-upgrader.php |
Checks if a child theme is being installed and its parent also needs to be installed.
|
Theme_Upgrader::install()wp-admin/includes/class-theme-upgrader.php |
Install a theme package.
|
Theme_Upgrader::upgrade()wp-admin/includes/class-theme-upgrader.php |
Upgrades a theme.
|
Theme_Upgrader::bulk_upgrade()wp-admin/includes/class-theme-upgrader.php |
Upgrades several themes at once.
|
Plugin_Upgrader::install()wp-admin/includes/class-plugin-upgrader.php |
Install a plugin package.
|
Plugin_Upgrader::upgrade()wp-admin/includes/class-plugin-upgrader.php |
Upgrades a plugin.
|
unregister_setting()wp-includes/option.php |
Unregisters a setting.
|
wp_ajax_send_attachment_to_editor()wp-admin/includes/ajax-actions.php |
Handles sending an attachment to the editor via AJAX.
|
wp_ajax_replyto_comment()wp-admin/includes/ajax-actions.php |
Handles replying to a comment via AJAX.
|
wp_link_manager_disabled_message()wp-admin/includes/bookmark.php |
Outputs the ‘disabled’ message for the WordPress Link Manager.
|
WP_Customize_Manager::stop_previewing_theme()wp-includes/class-wp-customize-manager.php |
Stops previewing the selected theme.
|
wp_trim_excerpt()wp-includes/formatting.php |
Generates an excerpt from the content, if needed.
|
kses_remove_filters()wp-includes/kses.php |
Removes all KSES input form content filters.
|
_default_wp_die_handler()wp-includes/functions.php |
Kills WordPress execution and displays HTML page with an error message.
|
WP_Widget_Text::widget()wp-includes/widgets/class-wp-widget-text.php |
Outputs the content for the current Text widget instance.
|
WP_Widget_Text::form()wp-includes/widgets/class-wp-widget-text.php |
Outputs the Text widget settings form.
|
do_shortcode()wp-includes/shortcodes.php |
Searches content for shortcodes and filter shortcodes through their hooks.
|
remove_action()wp-includes/plugin.php |
Removes a callback function from an action hook.
|
welcome_user_msg_filter()wp-includes/ms-functions.php |
Ensures that the welcome message is not empty. Currently unused.
|
Walker_Comment::start_el()wp-includes/class-walker-comment.php |
Starts the element output.
|
WP_Customize_Widgets::stop_capturing_option_updates()wp-includes/class-wp-customize-widgets.php |
Undoes any changes to the options since options capture began.
|
wp_update_comment()wp-includes/comment.php |
Updates an existing comment in the database.
|
_WP_Editors::editor()wp-includes/class-wp-editor.php |
Outputs the HTML for a single instance of the editor.
|
Skip to note 2 content
Codex
Example
remove_filter( 'the_content', 'wpautop' );foreach ( array( 'the_content', 'the_title', 'comment_text' ) as $hook ) remove_filter( $hook, 'capital_P_dangit' );If a filter has been added from within a class, for example by a plugin, removing it will require accessing the class variable.
global $my_class; remove_filter( 'the_content', array($my_class, 'class_filter_function') );It is also worth noting that you may need to prioritise the removal of the filter to a hook that occurs after the filter is added. You cannot successfully remove the filter before it has been added.