403Webshell
Server IP : 172.67.158.161  /  Your IP : 18.116.42.233
Web Server : LiteSpeed
System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : giankuin ( 1871)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/giankuin/dietcontrungnhanh.com/wp-content/plugins/ithemes-security-pro/pro/passwordless-login/integrations/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/giankuin/dietcontrungnhanh.com/wp-content/plugins/ithemes-security-pro/pro/passwordless-login/integrations//LifterLMS.php
<?php

namespace iThemesSecurity\PasswordlessLogin\Integrations;

use iThemesSecurity\PasswordlessLogin\Integration\Integration;

class LifterLMS implements Integration {

	public function get_name() {
		return 'LifterLMS';
	}

	public function get_slug() {
		return 'lifter-lms';
	}

	public function run() {
		add_filter( 'lifterlms_person_login_fields', [ $this, 'include_passwordless_login_prompt_in_login_fields' ], 20 );
	}

	/**
	 * Include a field for the passwordless login prompt in the LLMS login fields list.
	 *
	 * We mark our field as first in the list of fields.
	 *
	 * @param array $fields
	 *
	 * @return array
	 */
	public function include_passwordless_login_prompt_in_login_fields( $fields ) {
		array_unshift( $fields, [
			'columns'     => 12,
			'id'          => 'itsec_llms_passwordless_prompt',
			'type'        => 'html',
			'description' => \ITSEC_Passwordless_Login_Utilities::render_modal_link(),
		] );

		return $fields;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit