Elementor has option to autosave posts… Once i hit save button it generated 3 tables
Is there any way to completely disable that sync feature and stop generation of thouse database rows ?I don’t use jetpack publishing feature, so i don’t need that sync feature…
189877 jpsq_sync-:”jetpack_sync_save_post”;
189878 jpsq_sync-“jetpack_sync_save_post”;i:1;a:4:{i:…
189879 jpsq_sync_checkout 0:0
I googled and tried the following snippets,nothing worked ….rows are still being added to my db
add_filter( 'pre_option_jetpack_sync_settings_sync_via_cron', '__return_zero' );
function jp_support_5513_sync_schedule( $schedules ) {
if ( ! isset( $schedules['2400min'] ) ) {
$schedules['2400min'] = array(
'interval' => 2400 * MINUTE_IN_SECONDS,
'display' => __( 'Every 2400 minutes' ),
);
}
return $schedules;
}
add_filter( 'cron_schedules', 'jp_support_5513_sync_schedule' );
function __return_jp_support_5513_2400_min() {
return '2400min';
}
add_filter( 'jetpack_sync_incremental_sync_interval', '__return_jp_support_5513_2400_min' );
add_filter( 'jetpack_sync_full_sync_interval', '__return_jp_support_5513_2400_min' );
add_filter('schedule_event', function ($event) {
return strpos($event->hook, 'jetpack_sync_') === 0 ? false : $event;
});
//disable cron jetp sync