50% OFF Limited time deal!

wp_sms_to

Updated on Feb 23, 2021

Overview

This filter allows you to modify the receiver’s 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');