描述
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: wp@gri.net
This example provider use WordPress HTTP API with GET method. Connect provider API url and processes the results.
How to use?
Again it is worth mentioning, this is a developer plugin. You can’t use this plug-in as an end-user.
- For SMS sending: Use
wp_sms_send_sms($receiver_number, $message)
. If this function unknowned, you can include fileABSPATH . '/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.
- Upload the plugin files to the
/wp-content/plugins/wp-sms-functions
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the Settings->SMS Provider screen to configure the plugin
- Select your SMS provider(SMS operator) and fill required settings. If you entered incorrect credentials for SMS account, you can see error message in this screen.
- After successfully installation, you can use SMS functions in everywhere of WP.
常見問題
-
How to add new provider to use?
-
- First, clone example provider file(
inc/providers/Netgsm_Provider.php
) as your provider name ininc/providers
directory. All of php files in this directory will be included with WP init action. - Set your provider name and slug in
__construct
and set settings fields infields
method. Insettings
method, you must input fields for settings page. - Lastly create or modify
send_sms
method in your provider class. You can get options and trigger to send SMS.
- First, clone example provider file(
評價
There are no reviews for this plugin.
貢獻者及開發者
修改日誌
1.2.7
- Asist SMS provider added.
1.2.6
- Gri SMS provider updated.
1.2.5
- Gri SMS provider updated.
1.2.4
- Gri SMS provider added.
- Verimor provider some improvements.
1.2.3
- Improvements for NetGSM operator.
1.2.2
- Added new provider: BatmanTopluSMS
- Some small bugs fixed.
1.2.1
- Added new provider: UygunSMS
1.2
- Added new provider: BizimSMS
- All providers migrated to new version.
- NetGSM SOAP method added.
- NEW FEATURE: Debug mode
- NEW FEATURE: Send test SMS
1.1.2
- Added new provider: Mobildev
1.1
- Added new providers: Iletimerkezi, Jetsms, Mutlucell
- cURL Post method created.
1.0
- This is the launch version. No changes yet.