the_permalink_rss()
Displays the permalink to the post for use in feeds.
Хуки из функции
Возвращает
null
. Ничего (null).
Использование
the_permalink_rss();
Список изменений
С версии 2.3.0 | Введена. |
Код the_permalink_rss() the permalink rss WP 6.7.2
function the_permalink_rss() { /** * Filters the permalink to the post for use in feeds. * * @since 2.3.0 * * @param string $post_permalink The current post permalink. */ echo esc_url( apply_filters( 'the_permalink_rss', get_permalink() ) ); }