SimplePie::get_permalink()
Get the permalink for the item
Returns the first link available with a relationship of "alternate". Identical to get_link() with key 0
Метод класса: SimplePie{}
Хуков нет.
Возвращает
Строку|null
. Link URL
Использование
$SimplePie = new SimplePie(); $SimplePie->get_permalink();
Заметки
- Смотрите: get_link
Список изменений
С версии 1.0 | Введена. |
С версии 1.0 | (previously called get_feed_link since Preview Release, get_feed_permalink() since 0.8) |
Код SimplePie::get_permalink() SimplePie::get permalink WP 6.5.2
public function get_permalink() { return $this->get_link(0); }