Please check the callback function name for example
add_action( 'woocommerce_process_product_meta', 'new_metabox_save',35 );
Function definiton
function new_metabox_save(){
$post = get_post( $post_id );
}
Please check the callback function name for example
add_action( 'woocommerce_process_product_meta', 'new_metabox_save',35 );
Function definiton
function new_metabox_save(){
$post = get_post( $post_id );
}