WP HOOKS
filtrod 2.8.0

post_comments_feed_link_html

Args 3Plik wp-includes/link-template.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the post comment feed link anchor tag.

Parametry

ParametrTypOpis
$linkstringThe complete anchor tag for the comment feed link.
$post_idintPost ID.
$feedstringThe feed type. Possible values include 'rss2', 'atom', or an empty string for the default feed type.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'post_comments_feed_link_html', 'twoja_funkcja', 10, 3 );

function twoja_funkcja($param_1, $param_2, $param_3) {
	// Twój kod
}

Popularne w tej kategorii