filtrod 4.3.0
get_main_network_id
Opis — z kodu źródłowego
Filters the main network ID.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$main_network_id | int | The ID of the main network. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'get_main_network_id', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'get_main_network_id', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii