Skip to content

Instantly share code, notes, and snippets.



Last active Jul 29, 2019
What would you like to do?
Jilt Workality Plus workaround
// Add the following snippet below the line to the bottom of your theme's functions.php file or by using the Code Snippets plugin:
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