filtrod 2.5.0
pre_remote_source
Opis — z kodu źródłowego
Filters the pingback remote source.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$remote_source | string | Response source for the page linked from. |
$pagelinkedto | string | URL of the page linked to. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'pre_remote_source', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'pre_remote_source', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii