wp_sms_to

Overview

This filter allows you to modify receivers number.

 

Example:

Add a new number to get the message.

function wp_sms_modify_receiver($numbers) {
	$numbers[] = '11xxxxxxxx';
	
	return $numbers;
}
add_filter('wp_sms_to', 'wp_sms_modify_receiver');