arm_before_setup_form_action

This action will be executed before membership setup form get submitted.

Hook Type: Action
Usage:
add_action( 'arm_before_setup_form_action', 'your_function', 10, 2);
function your_function($setup_id, $post_data) {
    //Do Your Action.
    //$setup_id Membership setup id.
    //$post_data Posted membership setup form data.
}
Parameters:
$setup_id
Membership setup id
$post_data
Posted membership setup form data