WP HOOKS
filtrod 3.0.0

login_form_middle

Args 2Plik wp-includes/general-template.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters content to display in the middle of the login form.

The filter evaluates just following the location where the 'login-password' field is displayed.

Parametry

ParametrTypOpis
$contentstringContent to display. Default empty.
$argsarrayArray of login form arguments.

Wywołanie

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

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

Popularne w tej kategorii