AsynCRONous bbPress Subscriptions
Per default, bbPress is sending subscription notification emails as one email with a bunch of BCCs. There are various reasons why it would make more sense to send individual emails. This plugin does that, quietly in the background via WP cron, without slowing down page load times. Also increases notification performance and reduces database load on large sites. Translations by @mauriciogarofalo and @mechter Defaults If you don’t customize this plugin, this is what you’ll get: Sends mails from "MyBlog " (with your Blog’s name and admin email) Sends mail to "Markus " (with the name being the user’s display name on the forums, not their username) Subject and Message have more user friendly defaults, use the available filters (see below) to make them your own. Customization You can install and activate this plugin and it just works, but you have full control over the details if you want to. Below are some filters and code snippets that help you do what you want. If you’re new to working directly with code, please see the example at the bottom of this page. Available filters bbp_subscription_email_from( $from ) // $from can be a string or array('name'=>string, 'address'=>string) bbp_subscription_email_recipients( $recipients ) // $recipients is array of array('name'=>string, 'address'=>string) bbp_subscription_email_headers( $headers ) bbp_forum_subscription_email_subject( $subject, $forum_id, $topic_id ) bbp_forum_subscription_email_message( $message, $forum_id, $topic_id ) bbp_topic_subscription_email_subject( $subject, $forum_id, $topic_id, $reply_id ) bbp_topic_subscription_email_message( $message, $forum_id, $topic_id, $reply_id ) bbp_bounce_address( $bounce_address ) bbp_subscription_disable_async( false ) bbp_forum_subscription_disable_async( false ) bbp_topic_subscription_disable_async( false ) bbp_forum_subscription_notify_author( false ) bbp_topic_subscription_notify_author( false ) Helpful Snippets Here are some pointers to get the data you might want in your notifications: $blog_name = get_bloginfo( 'name' ); $forum_title = bbp_get_forum_title( $forum_id ); $topic_author_user_id = bbp_get_topic_author_id( $topic_id ); $topic_author_display_name = bbp_get_topic_author_display_name( $topic_id ); $topic_title = wp_specialchars_decode( strip_tags( bbp_get_topic_title( $topic_id ) ), ENT_QUOTES ); $topic_content = wp_specialchars_decode( strip_tags( bbp_get_topic_content( $topic_id ) ), ENT_QUOTES ); $topic_url = get_permalink( $topic_id ); $reply_author_user_id = bbp_get_reply_author_id( $reply_id ); $reply_author_display_name = bbp_get_topic_author_display_name( $reply_id ); $reply_content = strip_tags( bbp_get_reply_content( $reply_id ) ); $reply_url = bbp_get_reply_url( $reply_id ); // note that it's not get_permalink() Example To have a nice subject line for new topic notifications, add this to your theme’s functions.php. If your theme does not have this file, you can simply create it and it will be loaded automatically. Note how the example is basically just one of the filters above, mixed with some of the snippets and a return statement. It’s that simple. add_filter( 'bbp_forum_subscription_email_subject', function( $subject, $forum_id, $topic_id ) { $blog_name = get_bloginfo( 'name' ); $topic_author_display_name = bbp_get_topic_author_display_name( $topic_id ); $topic_title = wp_specialchars_decode( strip_tags( bbp_get_topic_title( $topic_id ) ), ENT_QUOTES ); return "[$blog_name] $topic_author_display_name created a new topic: $topic_title"; }, 10, 3); // first is priority (10 is default and just fine), second is number of arguments your filter expects
Top keywords
- topic34×5.91%
- id28×4.87%
- bbp24×4.17%
- subscription14×2.43%
- author13×2.26%
- forum13×2.26%
- name13×2.26%
- reply13×2.26%
- topic id12×2.09%
- email10×1.74%
- id topic10×1.74%
- display8×1.39%
NotifSMS – SMS Notifications OTP & 2FA for WordPress & WooCommerce
NotifSMS For WordPress enables you to send text messages, OTP codes, and 2FA notifications directly from your WordPress site. You can send SMS alerts via Twilio, custom SMS gateways, or other supported providers. Whether you want to notify WooCommerce customers,send OTP for login, or broadcast SMS to users, this plugin provides a straightforward solution. 🔹 Features Send SMS from WordPress – Quickly send single or bulk SMS from your WordPress dashboard. WooCommerce SMS Alerts – Notify customers about order status updates (completed, shipped, cancelled, etc.). Contact Form 7 & Gravity Forms Integration – Send SMS when a form is submitted. OTP & 2FA (Two Factor Authentication) – Add secure SMS-based login or verification. Custom SMS Gateways – Use Twilio or integrate your preferred provider. Bulk & Newsletter SMS – Send bulk SMS to all users or by user role. Admin SMS Notifications – Get notified instantly of site activities (new user, post, comment, etc.). URL Shortening Support – Integrates Bit.ly or Google URL Shortener API. Developer Friendly – Hooks and filters for custom integrations. Easy setup – Activate, configure your API key, and start sending SMS in minutes! 🔹 Use Cases This plugin is optimized for speed, flexibility, and reliability. It integrates seamlessly with popular plugins and is ideal for: – WooCommerce stores that want to send SMS order notifications – WordPress membership or e-learning sites that need 2FA/OTP SMS – Businesses wanting SMS marketing or user alerts You can even extend it with premium addons for deeper integrations. 🔸 Premium Addons Upgrade with Pro Addons to unlock more SMS automation and integrations: WooCommerce SMS Addon – Automatic order SMS notifications. Event Espresso SMS Reminder – Send reminders to event attendees. Bulk SMS Addon – Send SMS to all users, by role, or to custom lists. Contact Form 7 SMS Addon – Admin SMS notifications for new form submissions. Easy Digital Downloads Addon – Customer SMS notifications on order updates. ClassiPress / Vantage / AdForest Addons – Send SMS to ad owners and business listers. View all addons → Need a custom integration? Contact us — we’ll help you build one. Visit WPSMS.io for documentation, guides, and API details. Contributors are welcome via GitHub. Disclaimer: This plugin is not affiliated with or endorsed by Twilio, Inc., WordPress, WooCommerce, or any other third-party service mentioned. All trademarks belong to their respective owners. Third-Party Services This plugin may send data to the following third-party services when certain features are enabled: Bitly URL Shortener When used: When the “Shorten URLs using Bit.ly” option is enabled in plugin settings, URLs in SMS messages are automatically shortened using the Bitly API. Service Information: * Service Website: https://bitly.com/ * API Documentation: https://dev.bitly.com/v4_documentation.html * Terms of Service: https://bitly.com/pages/tos * Privacy Policy: https://bitly.com/pages/privacy Data Sent: Long URLs from SMS messages are sent to Bitly’s API to generate shortened URLs. No personal user data is sent beyond the URLs themselves. Google URL Shortener (Deprecated) When used: When the “Shorten URLs using Google (Deprecated)” option is enabled in plugin settings, URLs in SMS messages are automatically shortened using the Google URL Shortener API. Note: Google has deprecated this service. We recommend using Bitly instead. Service Information: * Service Website: https://developers.google.com/url-shortener * Terms of Service: https://developers.google.com/terms * Privacy Policy: https://policies.google.com/privacy Data Sent: Long URLs from SMS messages are sent to Google’s API to generate shortened URLs. No personal user data is sent beyond the URLs themselves. Important: These third-party services are only used when you explicitly enable URL shortening in the plugin settings. If URL shortening is disabled, no data is sent to these services.