Created
October 27, 2013 21:15
-
-
Save BFTrick/7187970 to your computer and use it in GitHub Desktop.
This is an example adding the Airfire Mobile carrier to the Ninja Forms Text Message Notifications plugin.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// add a carrier for the ninja forms text message notifications plugin | |
function my_nf_tmn_carriers( $carriers ) { | |
$carriers["USA Airfire Mobile"] = array( | |
"name" => __( "USA Airfire Mobile" ), | |
"gateway" => "sms.airfiremobile.com" | |
); | |
return $carriers; | |
} | |
add_filter( 'nf_tmn_carriers', 'my_nf_tmn_carriers'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment