HEX
Server: LiteSpeed
System: Linux node612.namehero.net 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User: dfwparty (1186)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //home/dfwparty/smartcardcontacts.com/wp-content/plugins/Ultimate-Premium-Plugin/init.php
<?php
/*Plugin version setup*/
$oldVersion = get_option('sfsi_premium_pluginVersion',false);

if(false == $oldVersion || sfsi_premium_version_compare($oldVersion, PLUGIN_CURRENT_VERSION, '<','15.0')){
	add_action("init", "sfsi_plus_update_plugin");
}

//Get verification code
if(is_admin())
{	
	$code 		= sanitize_text_field(get_option('sfsi_premium_verificatiom_code'));
	$feed_id 	= sanitize_text_field(get_option('sfsi_premium_feed_id'));
	
	if(empty($code) && !empty($feed_id))
	{
		add_action("init", "sfsi_plus_getverification_code");
	}
}
function sfsi_plus_getverification_code()
{
	$feed_id = sanitize_text_field(get_option('sfsi_premium_feed_id'));
	$response = wp_remote_post( 'https://api.follow.it/wordpress/getVerifiedCode_plugin', array(
        'blocking' => true,
        'user-agent' => 'sf get verification',
        'body' => array(
            'feed_id' => $feed_id
        ),
        'timeout'     => 30,
		'sslverify' => true
    ));
    
	// Send the request & save response to $resp
	if ( is_wp_error( $response ) ) {
   		$error_message = $response->get_error_message();
	   	// echo "Something went wrong: $error_message";
	} else {
	   	$resp = json_decode($response['body']);
		update_option('sfsi_premium_verificatiom_code', $resp->code);
	}
	
}