Server IP : 172.67.158.161 / Your IP : 3.137.171.114 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/ |
Upload File : |
<?php class ITSEC_Passwordless_Login_Settings extends \iThemesSecurity\Config_Settings { public function get_settings_schema() { $schema = parent::get_settings_schema(); $integrations = ITSEC_Passwordless_Login_Integrations::get_integrations(); if ( $integrations ) { foreach ( $integrations as $integration ) { $schema['properties']['integrations']['properties'][ $integration->get_slug() ] = $schema['properties']['integrations']['additionalProperties']; $schema['properties']['integrations']['properties'][ $integration->get_slug() ]['title'] = $integration->get_name(); } } else { $schema['uiSchema']['integrations']['ui:widget'] = 'hidden'; } return $schema; } } ITSEC_Modules::register_settings( new ITSEC_Passwordless_Login_Settings( ITSEC_Modules::get_config( 'passwordless-login' ) ) );