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:Defined at:Change Log: - Introduced in WordPress: 0.71
- Deprecated in WordPress: —
Description
Retrieves the post content.