Optimize SMS Sender’s Number with ‘wp_sms_from’

Updated on Jan 09, 2023


The WP SMS plugin includes a filter called “wp_sms_from” that allows you to modify the sender’s phone number for SMS messages sent through the plugin. This filter can be useful if you want to customize the phone number that messages are sent from, or if you want to use a different phone number for different types of messages.


Add 0 to the end sender’s number.

function wp_sms_modify_from($from) {
	$from = $from . ' 0';
	return $from;
add_filter('wp_sms_from', 'wp_sms_modify_from');