filtrod 3.0.0
wpmu_active_signup
Opis — z kodu źródłowego
Filters the type of site sign-up.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$active_signup | string | String that returns registration type. The value can be 'all', 'none', 'blog', or 'user'. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'wpmu_active_signup', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'wpmu_active_signup', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii