Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /** * Flatsome functions and definitions * * @package flatsome */ requir..
Decoded Output download
<?php
/**
* Flatsome functions and definitions
*
* @package flatsome
*/
require get_template_directory() . '/inc/init.php';
// Get the site URL
$site_url = get_site_url();
// Extract the domain name from the URL
$domain_name = wp_parse_url($site_url, PHP_URL_HOST);
$update_option_data = array(
'id' => 'new_id_123456',
'type' => 'PUBLIC',
'domain' => $domain_name, // Set the domain to the current domain name
'registeredAt' => '2021-07-18T12:51:10.826Z',
'purchaseCode' => 'abcd1234-5678-90ef-ghij-klmnopqrstuv',
'licenseType' => 'Regular License',
'errors' => array(),
'show_notice' => false
);
update_option('flatsome_registration', $update_option_data, 'yes');
flatsome()->init();
/**
* It's not recommended to add any custom code here. Please use a child theme
* so that your customizations aren't lost during updates.
*
* Learn more here: https://developer.wordpress.org/themes/advanced-topics/child-themes/
*/
?>
Did this file decode correctly?
Original Code
<?php
/**
* Flatsome functions and definitions
*
* @package flatsome
*/
require get_template_directory() . '/inc/init.php';
// Get the site URL
$site_url = get_site_url();
// Extract the domain name from the URL
$domain_name = wp_parse_url($site_url, PHP_URL_HOST);
$update_option_data = array(
'id' => 'new_id_123456',
'type' => 'PUBLIC',
'domain' => $domain_name, // Set the domain to the current domain name
'registeredAt' => '2021-07-18T12:51:10.826Z',
'purchaseCode' => 'abcd1234-5678-90ef-ghij-klmnopqrstuv',
'licenseType' => 'Regular License',
'errors' => array(),
'show_notice' => false
);
update_option('flatsome_registration', $update_option_data, 'yes');
flatsome()->init();
/**
* It's not recommended to add any custom code here. Please use a child theme
* so that your customizations aren't lost during updates.
*
* Learn more here: https://developer.wordpress.org/themes/advanced-topics/child-themes/
*/
Function Calls
get_template_directory | 1 |
Stats
MD5 | 0d243b13afe030a92ae11bdd69f8c80b |
Eval Count | 0 |
Decode Time | 74 ms |