File manager - Edit - /home/verseaumee/blueversion/wp-content/plugins/hcaptcha-for-forms-and-more/src/php/WP/Login.php
Back
<?php /** * Login class file. * * @package hcaptcha-wp */ // phpcs:disable Generic.Commenting.DocComment.MissingShort /** @noinspection PhpUndefinedNamespaceInspection */ /** @noinspection PhpUndefinedClassInspection */ // phpcs:enable Generic.Commenting.DocComment.MissingShort namespace HCaptcha\WP; use HCaptcha\Abstracts\LoginBase; use HCaptcha\Helpers\HCaptcha; use WordfenceLS\Controller_WordfenceLS; use WP_Error; use WP_User; /** * Class Login */ class Login extends LoginBase { /** * Init hooks. */ protected function init_hooks() { parent::init_hooks(); add_action( 'login_form', [ $this, 'add_captcha' ] ); } /** * Add captcha. * * @return void */ public function add_captcha() { if ( ! $this->is_wp_login_form() ) { return; } parent::add_captcha(); } }
| ver. 1.4 |
Github
|
.
| PHP 8.5.7 | Generation time: 0 |
proxy
|
phpinfo
|
Settings