HEX
Server: nginx/1.27.1
System: Linux in-4 5.15.0-131-generic #141-Ubuntu SMP Fri Jan 10 21:18:28 UTC 2025 x86_64
User: ilikadirect (1186)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
Upload Files
File: /storage/v6964/srce/public_html/wp-content/plugins/siteorigin-panels/compat/livemesh.php
<?php
/**
 * When the Livemesh SiteOrigin Widgets settings are updated,
 * clear the Page Builder widget cache.
 *
 * This callback is triggered whenever the lsow_settings option is updated.
 * This will only happen after a setting is actually changed.
 *
 * @param mixed  $old_value The previous value of the lsow_settings option.
 * @param mixed  $value     The new value being saved to the lsow_settings option.
 * @param string $option    The name of the option being updated (should be 'lsow_settings').
*/
function siteorigin_panels_lsow_settings_update( $old_value, $value, $option ) {
	delete_transient( 'siteorigin_panels_widgets' );
	delete_transient( 'siteorigin_panels_widget_dialog_tabs' );
}
add_action( 'update_option_lsow_settings', 'siteorigin_panels_lsow_settings_update', 10, 3 );