File Editor
Directories:
.. (Back)
ajax-data
background-masks
content-retriever
display-conditions
dynamic-assets
global-presets
gutenberg
icon-manager
woocommerce
Files:
AjaxCache.php
BlockEditorIntegration.php
ClassicEditor.php
CriticalCSS.php
DoNotCachePage.php
ErrorReport.php
I18n.php
JQueryBody.php
Library.php
SplitLibrary.php
ai-button.php
dynamic-content.php
et-server-frame.php
local-library.php
post-content.php
search-posts.php
window.php
woocommerce-modules.php
Create New File
Create
Edit File: 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' );
Save Changes
Rename File
Rename