the_content() – Display the post content.

You appear to be a bot. Output may be restricted

Description

Displays the post content.

Usage

the_content( $more_link_text, $strip_teaser );

Parameters

$more_link_text
( string ) optional – Optional. Content for when there is more text.
$strip_teaser
( bool ) optional – Optional. Strip teaser content before the more text. Default false.

Returns

void

Source

File name: wordpress/wp-includes/post-template.php
Lines:

1 to 14 of 14
function the_content( $more_link_text = null, $strip_teaser = false ) {
  $content = get_the_content( $more_link_text, $strip_teaser );

  
/**
 * Filters the post content.
 *
 * @since 0.71
 *
 * @param string $content Content of the current post.
 */
  $content = apply_filters( 'the_content', $content );
  $content = str_replace( ']]>', ']]>', $content );
  echo $content;
}
 

 View on GitHub View on Trac