the_content

Definition:
function the_content($more_link_text = null, $stripteaser = false) {}

Display the post content.

Parameters

  • string $more_link_text: Optional. Content for when there is more text.
  • bool $stripteaser: Optional. Strip teaser content before the more text. Default is false.

Defined filters

  • the_content
    apply_filters('the_content', $content)

Source code

function the_content($more_link_text = null, $stripteaser = false) {

	$content = get_the_content($more_link_text, $stripteaser);

	$content = apply_filters('the_content', $content);

	$content = str_replace(']]>', ']]>', $content);

	echo $content;

}

2995

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: