SimplePie_Item::get_content

SummerySummery

Get the content for the item

Syntax

SimplePie_Item::get_content( boolean $content_only = false )

DescriptionDescription

Prefers full content over summaries, but will return a summary if full content does not exist.

To prefer summaries instead, use get_description

Uses <atom:content> or <content:encoded> (RSS 1.0 Content Module)

ParametersParameters

$content_only

(boolean) (Optional) Should we avoid falling back to the description?

Default value: false

ReturnReturn

(string|null)

SourceSource

File: wp-includes/SimplePie/Item.php


			

ChangelogChangelog

Changelog
Version Description
1.0 Introduced.
Scroll to Top