| 开发者 | gonlinesites |
|---|---|
| 更新时间 | 2026年3月14日 13:00 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
{order_id}, {order_total}, {customer_name}, {order_items}, and many more.{field_id:N} or {Field Label} placeholders..pot file included).{order_id} {order_number} {order_total} {order_status} {order_date} {customer_name} {customer_first_name} {customer_last_name} {customer_email} {customer_phone} {billing_address} {shipping_address} {payment_method} {shipping_method} {order_items} {subtotal} {tax_amount} {currency} {coupon_code} {site_name} {site_url}
Supported Placeholders (User notifications)
{first_name} {last_name} {display_name} {user_email} {user_login} {site_name} {site_url}
g-online-sms folder to /wp-content/plugins/, or install directly via Plugins → Add New.Register or log in at sms.gonlinesites.com/app and copy your API key from the dashboard.
The plugin checks for a billing_phone user meta (set by WooCommerce), then a phone meta, then falls back to the username. We recommend using WooCommerce's billing phone field for best results.
Yes. WooCommerce, Contact Form 7, and Gravity Forms integrations are loaded automatically only when those plugins are active.
In the CF7 form editor go to the Additional Settings tab and add:
g_online_sms_message: New enquiry from {your-name}
g_online_sms_to: admin
Replace admin with a CF7 phone field name (e.g. your-phone) to SMS the submitter instead.
Yes — your API key is stored in the WordPress options table (the same location as all other plugin settings) and is only transmitted to the SMS gateway when sending messages or checking your balance.
esc_* output escaping throughout.uninstall.php to clean up options and DB table on plugin deletion..pot file included.