| Server IP : 80.74.154.100 / Your IP : 216.73.217.0 Web Server : Apache System : Linux marissa.metanet.ch 4.18.0-553.141.2.lve.el7h.x86_64 #1 SMP Wed Jul 8 17:20:31 UTC 2026 x86_64 User : onlineadmin ( 10487) PHP Version : 8.5.7 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/httpd/vhosts/comeonline.ch/httpdocs/wp-content/plugins/siteorigin-panels/compat/ |
Upload File : |
<?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 );