Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BFTrick/7187970 to your computer and use it in GitHub Desktop.
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.
<?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