the_permalink_rss хук-фильтрWP 2.3.0

Filters the permalink to the post for use in feeds.

Использование

add_filter( 'the_permalink_rss', 'wp_kama_the_permalink_rss_filter' );

/**
 * Function for `the_permalink_rss` filter-hook.
 * 
 * @param string $post_permalink The current post permalink.
 *
 * @return string
 */
function wp_kama_the_permalink_rss_filter( $post_permalink ){

	// filter...
	return $post_permalink;
}
$post_permalink(строка)
The current post permalink.

Список изменений

С версии 2.3.0 Введена.

Где вызывается хук

the_permalink_rss()
the_permalink_rss
wp-includes/feed.php 250
echo esc_url( apply_filters( 'the_permalink_rss', get_permalink() ) );

Где используется хук в WordPress

Использование не найдено.