How to get user mobile numbers from GravityForms?

If you want to get user mobile numbers from GravityForms, you can write a hook for this job.

Here is an example:

add_action("gform_after_submission", "after_submission", 10, 2);

function after_submission($entry, $form){
	// Get mobile number
	$mobile = $entry['YOUR_FIELD_ID'];

	// Insert to DB
	$subscriber = new WP_SMS_Subscriptions();
	$result = $subscriber->add_subscriber('Name', $mobile);
}