Jilt Workality Plus workaround
<?php | |
// Add the following snippet below the line to the bottom of your theme's functions.php file or by using the Code Snippets plugin: https://wordpress.org/plugins/code-snippets/ | |
/******************************************************************************/ | |
add_action( 'save_post', function( $post_id, $post ) { | |
if ( doing_action( 'action_scheduler_stored_action' ) || doing_action( 'woocommerce_webhook_process_delivery' ) ) { | |
unset( $_REQUEST['pts_post_type'] ); | |
} | |
}, 10, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment