get_the_content


get_the_content ( $more_link_text = null, $strip_teaser = false, $post = null )

Parameters:
  • (string) more_link_text Optional. Content for when there is more text.
  • (bool) strip_teaser Optional. Strip teaser content before the more text. Default false.
  • (WP_Post|object|int) post Optional. WP_Post instance or Post ID/object. Default null.
Returns:
  • (string)
Defined at:
Change Log:
  • 5: .

Description

Retrieves the post content.

Related Functions

get_the_content_feed, the_content, get_theme_starter_content, get_the_date, get_the_time

Top Google Results

User discussions

wpseek mobile