is_lost_password_page()
Is_lost_password_page - Returns true when viewing the lost password page.
Хуков нет.
Возвращает
true|false
.
Использование
is_lost_password_page();
Код is_lost_password_page() is lost password page WC 9.3.3
function is_lost_password_page() { global $wp; $page_id = wc_get_page_id( 'myaccount' ); return ( $page_id && is_page( $page_id ) && isset( $wp->query_vars['lost-password'] ) ); }