WordPress at a glance
filter is not described

the_content filter-hook . WP 0.71

Filters the post content.

Usage

add_filter( 'the_content', 'filter_function_name_338' );
function filter_function_name_338( $content ){
	// filter...

	return $content;
}
$content(string)
Content of the current post.

Changelog

Since 0.71 Introduced.

Where the hook is called

the_content()
the_content
WP_REST_Posts_Controller::prepare_item_for_response()
the_content
WP_REST_Revisions_Controller::prepare_item_for_response()
the_content
WP_REST_Attachments_Controller::prepare_item_for_response()
the_content
get_the_content_feed()
the_content
do_trackbacks()
the_content
wp_trim_excerpt()
the_content
wp-includes/post-template.php 253
$content = apply_filters( 'the_content', $content );
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php 1768
$data['content']['rendered'] = post_password_required( $post ) ? '' : apply_filters( 'the_content', $post->post_content );
wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php 603
'rendered' => apply_filters( 'the_content', $post->post_content ),
wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php 724
'rendered' => apply_filters( 'the_content', $post->post_content ),
wp-includes/feed.php 194
$content = apply_filters( 'the_content', get_the_content() );
wp-includes/comment.php 2908
$excerpt = apply_filters( 'the_content', $post->post_content, $post->ID );
wp-includes/formatting.php 3823
$text = apply_filters( 'the_content', $text );

Where in WP core the hook is used WordPress

wp-includes/blocks.php 843
remove_filter( 'the_content', 'wpautop', $priority );
wp-includes/blocks.php 864
add_filter( 'the_content', 'wpautop', $current_priority - 1 );
wp-includes/blocks.php 865
remove_filter( 'the_content', '_restore_wpautop_hook', $current_priority );
wp-includes/blocks.php 844
add_filter( 'the_content', '_restore_wpautop_hook', $priority + 1 );
wp-includes/class-wp-embed.php 32
add_filter( 'the_content', array( $this, 'run_shortcode' ), 8 );
wp-includes/class-wp-embed.php 39
add_filter( 'the_content', array( $this, 'autoembed' ), 8 );
wp-includes/default-filters.php 177
add_filter( 'the_content', 'prepend_attachment' );
wp-includes/default-filters.php 562
add_filter( 'the_content', 'do_shortcode', 11 ); // AFTER wpautop().
wp-includes/default-filters.php 179
add_filter( 'the_content', 'wp_replace_insecure_home_url' );
wp-includes/default-filters.php 178
add_filter( 'the_content', 'wp_filter_content_tags' );
wp-includes/default-filters.php 173
add_filter( 'the_content', 'wptexturize' );
wp-includes/default-filters.php 176
add_filter( 'the_content', 'shortcode_unautop' );
wp-includes/default-filters.php 175
add_filter( 'the_content', 'wpautop' );
wp-includes/default-filters.php 174
add_filter( 'the_content', 'convert_smilies', 20 );
wp-includes/default-filters.php 172
add_filter( 'the_content', 'do_blocks', 9 );
wp-includes/default-filters.php 142
add_filter( $filter, 'capital_P_dangit', 11 );
wp-includes/template-loader.php 86
remove_filter( 'the_content', 'prepend_attachment' );