Customize WordPress
Better Notifications for WP is a simple but powerful plugin for that allows you to customise the email notifications that WordPress sends using a WYSIWYG editor and shortcodes. All of the default WordPress email notifications are available to customise as well as lots of new ones. You can choose to send notifications to individual users, multiple users, all users in a user role, multiple roles – you name it! You can also power-up your notifications with Premium Add-ons. Emails are sent out via your WordPress website (using wp_mail) but can be sent via SMTP using a 3rd party plugin should you wish. If you want to let users create their own email notifications/subscriptions/alerts, check out my other plugin: Content Notify. Here’s a quick walkthrough of the plugin in action: An Example: You want all the users in the Editor role to be notified via email when a new post is published and you’d like to customise it to include your logo along with the author’s name and date / time it was published – with this plugin, that’s easy. A handy list of shortcodes you can use is available here. Premium Add-ons Power-up your notifications using add-ons: Notification Add-on Bundles – Everything you need for your WordPress notifications. Save big when you buy an add-on bundle. Instant access. Subscriptions (GDPR) – Allow users to manage their subscriptions for BNFW notifications. If you want to let users create their own email notifications/subscriptions/alerts, check out my other plugin: Content Notify. Conditional Notifications – Limit certain notifications depending on which categories, tags, post formats, or terms you choose. Custom Fields – Provides a number of new shortcodes allowing you to include data from custom fields and custom user fields created using ACF. Send to Any Email – Send notifications to non-WordPress Users. Digest – Group multiple notifications into a single digest notification. Global Override – Override some of the settings of notifications directly when editing a post, page, or custom post type. Reminders – Send a reminder to your users and/or user roles when a post, page, or custom post type hasn’t been updated after a set amount of time. Also send a notification when a user hasn’t logged in for a set amount of time. Multisite – Adds new notifications and shortcodes for WordPress Multisite to Better Notifications for WP. Profile Builder – Adds compatibility and new notifications and shortcodes for Profile Builder Free, Hobbyist, and Pro plugins to Better Notifications for WP. …and more coming soon! Notifications The notifications that are currently available to use are: Admin New User Registration – For Admin User Lost Password – For Admin Password Changed – For Admin User Email Changed – For Admin User Role Changed – For Admin User Logged In – For Admin WordPress Core Automatic Background Updates Privacy – Confirm Action: Export Data Request – For Admin Privacy – Confirm Action: Erase Data Request – For Admin Transactional New User Registration – For User New User – Post-registration Email User Lost Password – For User Password Changed – For User User Email Changed Confirmation – For User User Email Changed – For User User Role Changed – For User User Logged In – For User Comment Reply Privacy – Confirm Action: Export Data Request – For User Privacy – Confirm Action: Erase Data Request – For User Privacy – Data Export – For User Privacy – Data Erased – For User Profile Builder – Approval Request for Admin (Profile Builder Add-on) Profile Builder – Email Confirmation (Profile Builder Add-on) Profile Builder – Account Approved (Profile Builder Add-on) Profile Builder – Account Unapproved (Profile Builder Add-on) User Login Reminder (Reminders Add-on) Posts / Custom Post Types New Post Published Post Updated Post Pending Review New Private Post Post Scheduled Published Post Moved to Trash New Comment New Comment Awaiting Moderation Post – Comment Approved Post – Custom Field Updated (Custom Fields Add-on) Post – Update Reminder (Reminders Add-on) New Trackback New Pingback Pages New Page Published Page Updated Page Pending Review New Private Page Page Scheduled Page – New Comment Page – New Comment Awaiting Moderation Page – Comment Approved Page – Comment Reply Page – Custom Field Updated (Custom Fields Add-on) Page – Update Reminder (Reminders Add-on) Media New Media Published Media Updated Media – New Comment Media – New Comment Awaiting Moderation Media – Comment Approved Media – Comment Reply Posts New Category New Tag Custom Post Types New Term Multisite (Multisite Add-on) New Site Activated or Created – For Network Admin New User Created – For Network Admin Network Admin Email Change Attempted – For New Network Admin Network Admin Email Changed – For Old Network Admin New Site Activated or Created – For Site Admin Site Deleted – For Site Admin Site Admin Email Change Attempted – For New Site Admin Site Admin Email Changed – For Old Site Admin New Site Activated – For User New User Created – For User New User Invited to Site – For User If you’d like to see a notification in the list above, please drop me a line in the forum and I’ll see what I can do to add it. If you want to let users create their own email notifications/subscriptions/alerts, check out my other plugin: Content Notify. Like this plugin? Please leave it a great review! Don’t think the plugin is worthy of 5 stars? Having problems? Let me know in the forum and I’ll do my best to help. DISCLAIMER This is an incredibly useful and highly rated plugin however, it’s possible that overuse or abuse of this plugin could upset your users by sending them too many notifications. By downloading / installing / using this plugin, you take full responsibility of the management / quantity / types of notifications that are sent out from it including abiding by any SPAM laws in your country / operating areas, dealing with / responding to subscription / unsubscription requests, complaints, and so on. I accept no liability or responsibility for SPAM or abuse of this plugin from the user(s) of or anyone that may receive notifications as a result of the use of this plugin. I’m trusting you, please don’t abuse your users.
Top keywords
- user35×3.57%
- notifications25×2.55%
- admin22×2.24%
- post17×1.73%
- email16×1.63%
- page13×1.33%
- add-on12×1.22%
- comment12×1.22%
- users12×1.22%
- custom11×1.12%
- site11×1.12%
- builder10×1.02%
Notification for Telegram
The “Notification for Telegram” plugin for WordPress is a tool that allows you to send notifications and messages to a Telegram channel, group or user/s when specific events occur on your WordPress site. This plugin is useful for monitoring critical events on your site, such as new comments, new user registrations, publishing activities, New forms sent,Woocommerce and Surecart orders, cart and lowstock, Mailchimp and more, by sending notifications directly to a Telegram channel or group or user/s of your choice. It also offers a shortcode to send Telegram notifications on every page of your website or in your code. Receive Telegram messages notification when: When receive a new order in Woocommerce. When a Woocommerce order change status. When receive a new order in Surecart. Every event captured by WP Activity Log plugin New field in Woocommerce checkout page let customers add the own telegram nickname Low Stock Product notifications when a product is low stock conditions. Shows Telegram Nick link in admin order details page when present When receive new forms (supports Elementor Pro Form, WPForm , CF7 and Ninjaform) When new user subscribes or unsubscribes to mailchimp. MC4WP integration When new user registers. Helps identify unauthorized or suspicious registrations. When users login or fail login. When new comment is posted. When someone adds or remove a product in the Woocommerce cart. When a new Pending posts is received. (works with any post type) Say function to speak to make the bot say Something to the people Cron job detect and notify when Plugins & Core need to update. Send custom message with Shortcode anywhere in your WP. Should Work on Multisite You can enable/disable every notification in the Plugin settings page. To configure the plugin, you need a valid Telegram API token. Its easy to get starting a Telegram Bot. You can learn about obtaining tokens and generating new ones in Setup Guide A complete step-by-step guide is available here: View the full documentation To get your Bot Token, you can refer to one of these resources: Official Telegram documentation Step-by-step guide on Medium To get your Chat ID, you need at least one recipient ID. You can retrieve it using one of these bots directly in Telegram: @get_id_bot — send /start and it will reply with your personal Chat ID @RawDataBot — send any message and it will return your full account info including your ID For Channel and Group Chatid settings see the FAQ section. Once You got the 2 fields save the configuration and try the “TEST” button .. you should receive a message in you telegram : “WOW IT WORKS” !! If not, check token and chatid fields again for the correct values. this plugin is relying on a 3rd party service to geolocate the Ip address https://ip-api.com/ https://ip-api.com/docs/legal to see the services’ a terms of use and/or privacy policies AI & MCP Compatible This plugin supports the WordPress Abilities API and is compatible with MCP (Model Context Protocol) — the standard that allows AI agents like Claude, ChatGPT, and others to interact with WordPress autonomously. If the Abilities API and MCP Adapter plugins are installed, any authorized AI agent can automatically discover and use the Send Telegram Message ability — no extra configuration needed. What an AI can do with this plugin: * Send a Telegram message with custom text * Add an inline button with label and URL * Override the default chat ID Requirements for MCP WordPress 7.0+ (Abilities API built-in) Plugin: MCP Adapter Enable “AI / MCP” in the plugin settings WordPress 6.9 compatibility WordPress 6.9+ Plugin: Abilities API Plugin: MCP Adapter MESSAGES TRANSLATION To translate Telegram messages, use WPML or Loco Translate. All notification strings are now translatable. Go to Loco Translate → Plugins → Notification for Telegram to add your translations. For WPML, ensure String Translation is enabled to modify notification texts. ACTION HOOK for third-party Plugin Notification for Telegram (version > 3.5.1) exposes a dedicated action hook so any third-party plugin can send messages without calling internal functions directly. Basic usage: do_action( ‘nftb_send_message’, ‘Your message here’ ); Look FAQ Section for more esamples. SHORTCODE EXAMPLE [telegram_mess message="Im so happy" chatids="0000000," token="000000000:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" showsitename="1" showip="1" showcity="1" ] SHORTCODE OPTIONS: message : Your message to be sent. Example (message=”hello world”) chatids : Recipient(s) who will receive your message separated by comma (example chatids=”0000000,11111111″) , If not present this field the shortcode will use default value in Plugin option page. token: The token looks something like 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11 If not present this field, the shortcode will use default value in Plugin option page. showsitename: if set to “1” appends sitename after the message. Defaultvalue is “0” Example (showsitename=”1″) showip: if set to “1” appends user ip address after the message. Default value is “0” Example (showip=”1″) showcity: if set to “1” appends user city name after the message. Default value is “0” Example (showcity=”1″) USE SHORTCODE IN YOU PHP CODE WOOCOMMERCE FILTER HOOKS We have created 4 filter hooks for WooCommerce order notification message. 4 new positions: Message Header, Message Footer, before Items, and after Items. And we have created a filter through which you can add custom code to product rows, and if you want, you can replace and customize the entire row. : 4 new Positions and code axample ( echo payment_status in the 4 positions) get_data(); // Extract specific order information $payment_status = $order->get_status(); $payment_method = $order->get_payment_method(); } return "\r\n\r\n".$payment_method."(".$payment_status.")\r\n" ; } ?> Product rows Filter with 2 different behaviors ADD or REPLACE LINE ".$product_id. "\r\n"; // REPLACE Product ITEM LINE CODE WITH YOUR CODE without concatenate $message. $modified_data = $product_id. "\r\n"; return $modified_data; } ?> USER LOGIN FILTER HOOKS user_registered; $timestamp = strtotime( $registration_date ); $formatter = new IntlDateFormatter( 'en_US', IntlDateFormatter::LONG, IntlDateFormatter::LONG, 'UTC' ); $formatter->setPattern( 'd MMMM y HH:mm:ss' ); $formatted_date = $formatter->format( $timestamp ); $message = "\r\n\r\nUser Registration Date: " . $formatted_date . "\r\n\r\n"; } else { $message = "\r\nNo info available for this user.\r\n"; } return $message; } ?> LEGACY FUNCTIONS (kept for backward compatibility) Before hooks were introduced, 3 overridable functions allowed message customization without editing plugin code. These are still supported but we encourage migrating to hooks. 1) Before the product list — example: prepend the Order ID 2) After the product list — example: append the order currency get_data(); return "Currency: " . $data['currency']; } ?> 3) At the end of each product line — example: append the product slug get_slug() . " "; } ?> Suggestions for new notifications, hooks, and plugin integrations are always welcome!