Hi,
I'm trying to redirect (after submission) to a thank you page with newly submitted post attached to query string but
"post_id" is always = 0
this is my code
add_action( 'rwmb_frontend_after_process', function( $config ) {
if ( 'nuovo-ordine' === $config['id'] ) {
wp_safe_redirect( '?rwmb-form-submitted=nuovo-ordine&post_id='.$config["post_id"] );
die;
}
} );