Summery Summery
Get a contributor for the item
Syntax Syntax
Parameters Parameters
- $key
-
(Required) The contrbutor that you want to return. Remember that arrays begin with 0, not 1
Return Return
(SimplePie_Author|null)
Source Source
File: wp-includes/SimplePie/Item.php
* @param int $key The author that you want to return. Remember that arrays begin with 0, not 1 * @return SimplePie_Author|null */ public function get_author($key = 0) { $authors = $this->get_authors(); if (isset($authors[$key])) { return $authors[$key]; } return null;
Advertisement
Changelog Changelog
Version | Description |
---|---|
1.1 | Introduced. |