WordPress at a glance
filter is not described

recovery_mode_cookie_length filter-hook . WP 5.2.0

Filter the length of time a Recovery Mode cookie is valid for.

Usage

add_filter( 'recovery_mode_cookie_length', 'filter_function_name_2485' );
function filter_function_name_2485( $length ){
	// filter...

	return $length;
}
$length(int)
Length in seconds.

Список изменений

С версии 5.2.0 Введена.

Где вызывается хук

WP_Recovery_Mode_Cookie_Service::set_cookie()
recovery_mode_cookie_length
WP_Recovery_Mode_Cookie_Service::validate_cookie()
recovery_mode_cookie_length
wp-includes/class-wp-recovery-mode-cookie-service.php 45
$length = apply_filters( 'recovery_mode_cookie_length', WEEK_IN_SECONDS );
wp-includes/class-wp-recovery-mode-cookie-service.php 97
$length = apply_filters( 'recovery_mode_cookie_length', WEEK_IN_SECONDS );

Где используется хук в ядре WP

Использование не найдено.