As previously announced via banners and our newsletters, support is no longer available through this platform.
For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.
You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.
Paid customers: Please log in to your store account for support.
Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com
Hello team.
I wanted to use the amelia_manipulate_sms_data hook explained here for debugging purposes. I tried to prevent the new appointment approval short messages from being sent, however, the filter didn't seem to work by adding the following snippet. The messages were sent to my phone just as usual and nothing was logged.
I tried to check if this filter was still implemented in Amelia v8.2.1 by searching in the plugin source code.
I only could find the term "amelia_manipulate_sms_data" inside the function "sendBirthdayGreetingNotifications()" in the file "/src/Application/Services/Notification/SMSNotificationService.php".
My question is - is this filter only usable for the birthday greeting notifications?Is there any way to manipulate other types SMS notifications?
Thank you!
Hello,
Thank you for your message and for the detailed explanation — it’s very helpful.
You're absolutely correct in your findings: as of Amelia v8.2.1, the amelia_manipulate_sms_data filter is currently only used internally for birthday greeting SMS notifications, specifically within the sendBirthdayGreetingNotifications() method. That means this hook does not apply to appointment-related SMS messages, including notifications for new bookings or approval changes.
Current Limitations:-
-
Possible Alternatives:The amelia_manipulate_sms_data hook does not run during the regular SMS sending process for appointments.
At the moment, there is no built-in filter or action in Amelia that allows manipulation or skipping of appointment-related SMS notifications in the same way.
If you're debugging or trying to prevent SMS from being sent temporarily:
-
-
Recommendation:You could disable the SMS notification template from the Amelia Notification settings for specific events (like “Appointment Approved”).
Alternatively, if you’re comfortable modifying the plugin temporarily for development, you could inject a similar apply_filters() call in the sendSMS() method — but keep in mind that this would be overwritten during updates and is not recommended for production.
We suggest submitting a feature request if you'd like to see more extensive filter support for SMS notifications — especially for appointment-based messages. Adding a general-purpose amelia_before_sms_send or amelia_filter_sms_data would be a logical next step for developers like yourself.
Let me know if you'd like help drafting that request or exploring a temporary development workaround.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thank you Uroš for your reply. Well understood.
I actually wanted to do something more than debugging, like an integration with other messaging platforms with the manipulation hook by looping the notification data in the third-party messaging API. However I also found this can be done by using the hooks for email which are working well.
I hope future updates will include the filter support to manipulate data for SMS not only for the birthday greeting context, just like the existing ones for email.
I appreciate your help!
Hello Yamato,
Thank you very much for your thoughtful suggestion and feedback! We're glad to hear you're exploring deeper integrations, and it's great to know the email hooks are working well for your needs.
We'll certainly pass along your idea regarding extended filter support for SMS notifications beyond just birthday greetings — it's a valuable suggestion that could benefit many users.
Appreciate your input and continued support!
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables