filtrod 2.8.0
post_comments_feed_link_html
Opis — z kodu źródłowego
Filters the post comment feed link anchor tag.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$link | string | The complete anchor tag for the comment feed link. |
$post_id | int | Post ID. |
$feed | string | The 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
}
// 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