| 开发者 | mrhamidreza |
|---|---|
| 更新时间 | 2026年9月6日 15:54 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
parse_mode: Markdown with safe escaping helpers for dynamic content.pulse_send_message action, pulse_notification_text filter, and a [pulse_notify] shortcode.hamid folder to /wp-content/plugins/, or install the plugin through the WordPress Plugins screen.Telegram: open @BotFather, send /newbot and follow the prompts; the token looks like 123456789:ABCdefGhIJKlmNoPQRsTUVwxyZ.
Bale: open @BotFather inside Bale and repeat the same steps — Bale's Bot API mirrors Telegram's, and Pulse supports both through the same interface.
Send any message to your bot, then press Find chat IDs on the Pulse → Connections tab. Pulse lists every recent chat (users, groups, channels) with the exact ID to paste into the settings. Group IDs are negative numbers; public channels can be addressed as @channelname.
Yes. Enable both platforms in the Connections tab; each keeps its own token, recipients and endpoint, and every notification is mirrored to both.
No. Set Delivery mode to Queued via WP-Cron on the Delivery & Privacy tab: outgoing messages are stored in a lightweight queue and flushed in background batches, so checkout, forms and logins never wait on the Bot API.
Two options: set a Custom API endpoint per platform (any mirror that speaks the Bot API), or configure the HTTP proxy on the Delivery & Privacy tab.
Yes — fire the public action from anywhere:
do_action( 'pulse_send_message', 'Hello from my plugin!' );
With an inline button: do_action( 'pulse_send_message', 'New order!', 'View', 'https://example.com/order/1' );
With a recipient override: do_action( 'pulse_send_message', 'Hello', '', '', '123456789' );
The message text can be adjusted with the pulse_notification_text filter.
[pulse_notify message="Backup finished" site="1" ip="1"] — attributes: message (required), site, ip, platform (telegram, bale or both), button_label, button_url. Tokens cannot be overridden from shortcodes by design.
No telemetry, no tracking, no phoning home. IP geolocation is off by default; when you enable it, IPs are looked up at ip-api.com and cached locally for one hour. Please make sure your own privacy policy covers this.
Optionally. With the Abilities API and MCP Adapter plugins installed, the "Send Pulse notification" ability is exposed at /wp-json/pulse/mcp for authorized agents (administrator capability required).
Yes. All order data is read and written through the WC_Order CRUD API.
hamid.[pulse_notify] shortcode and pulse_send_message action for developers.