This plugin gives you the ability to send SMS to your Wordpress website globally. Install and use SMS functions directly.
This simple plugin developed for developers.
Can not be used alone! yet, it does not have an end-user feature.
It completes your sms settings once and you can now use SMS functions in all WordPress.
You can add new SMS provider to inc/providers
folder. Netgsm_Provider.php
may be example for you! For more detail please write us: [email protected]
This example provider use WordPress HTTP API with GET method. Connect provider API url and processes the results.
Again it is worth mentioning, this is a developer plugin. You can’t use this plug-in as an end-user.
wp_sms_send_sms($receiver_number, $message)
. If this function unknowned, you can include file ABSPATH . '/wp-content/plugins/wp-sms-functions/inc/functions.php'
. Including too many times will not cause problems. It will protect itself against it.This section describes how to install the plugin and get it working.
/wp-content/plugins/wp-sms-functions
directory, or install the plugin through the WordPress plugins screen directly.inc/providers/Netgsm_Provider.php
) as your provider name in inc/providers
directory. All of php files in this directory will be included with WP init action.__construct
and set settings fields in fields
method. In settings
method, you must input fields for settings page.send_sms
method in your provider class. You can get options and trigger to send SMS.