You are here: Documentation » API Reference » SimplePie » get_language()
Table of Contents
get_language()
Description
class SimplePie { get_language () }
Returns the language for the feed.
Availability
- Available since SimplePie 1.0.
- Previously existed as
get_feed_language()
since SimplePie 0.8.
Examples
Display the language
$feed = new SimplePie(); $feed->set_feed_url('http://simplepie.org/blog/feed/'); $feed->init(); $feed->handle_content_type(); echo $feed->get_language();
See Also
reference/simplepie/get_language.txt · Last modified: 2011/03/06 03:56 (external edit)