Linux 软件免费装
Banner图

All Path Messaging

开发者 souptik
更新时间 2024年10月27日 16:19
PHP版本: 5.6 及以上
WordPress版本: 6.6.2
版权: GPLv2 or later
版权网址: 版权信息

标签

email messaging sms push-notification

下载

1.0.0

详情介绍:

Check out the Github Repository ♥ Limitless Communication: All-in-one, super scalable, messaging Solution for WordPress. Ok hold on! ✋. So, many words in one line. Let's understand each one-by-one. And that's how it provides Limitless communication! 🚀 https://www.youtube.com/watch?v=80hWdK8kREM Quick Links Setup ⚙️ | Issues | Services and functions 🧩 | Create your own Adapter 🛠️ Coming soon ⏳ Examples Email 📧📨 Send an email through a particular adapter (with headers 😉) - \Souptik\AllPathMessaging\Email\send( [ 'dev2@souptik.dev' ], 'Yay its working!', 'This is some long mail body.', 'Souptik', 'dev1@souptik.dev', [ 'cc' => [ [ 'name' => 'CC Test', 'email' => 'cc@souptik.dev', ], ], 'attachments' => [ trailingslashit( WP_CONTENT_DIR ) . '/mu-plugins/test-all-path-messaging.php', 'SameFileDifferentName.php' => trailingslashit( WP_CONTENT_DIR ) . '/mu-plugins/test-all-path-messaging.php', ], ], 'mailgun' ); Just remove the last parameter! And now it uses the default selected adapter - \Souptik\AllPathMessaging\Email\send( [ 'dev2@souptik.dev' ], 'Yay its working!', 'This is some long mail body.', 'Souptik', 'dev1@souptik.dev', [ 'cc' => [ [ 'name' => 'CC Test', 'email' => 'cc@souptik.dev', ], ], 'attachments' => [ trailingslashit( WP_CONTENT_DIR ) . '/mu-plugins/test-all-path-messaging.php', 'SameFileDifferentName.php' => trailingslashit( WP_CONTENT_DIR ) . '/mu-plugins/test-all-path-messaging.php', ], ], ); Checked the override wp_mail checkbox? Try a simple wp_mail! - wp_mail( [ 'dev2@souptik.dev' ], 'Yay its working!', 'This is some long mail body - from <strong>wp_mail</strong>.', [], [] ); SMS 📲 Send a SMS through a particular adapter - \Souptik\AllPathMessaging\SMS\send( [ '+xxxxxxxxxxxx' ], 'Yay its working!', 'twilio' ); Just remove the last parameter! And now it uses the default selected adapter - \Souptik\AllPathMessaging\SMS\send( [ '+xxxxxxxxxxxx' ], 'Yay its working!' ); Creating your own adapter 🛠️ Here comes the cool part fellow developers! 💻 Tip: I have provided a dummy adapter for each service at inc/<service>/adapters/dummy/. Consider that as the starting point and let's understand what each file does.

安装:

Upload 'all-path-messaging' to the '/wp-content/plugins/' directory. Activate the plugin through the 'Plugins' menu in WordPress.

屏幕截图:

  • WordPress Options (SMS)

常见问题:

I have a codebase, where I have used wp_mail. Do I need to make any changes to the codebase after installing this plugin?

Good news - no! You just have to check the Override wp_mail functionality checkbox in the settings and that's it! All your mails you are triggering through wp_mail will be sent through your selected provider!

I am already using an email marketing plugin. Can I use this plugin to use as the email sending service?

Absolutely! The plugin is made for that only! Keep using your existing email marketing plugin and just set the email provider as default (i.e it should use wp_mail). And that's it the emails will be send through the desired provider you select in this plugin.

I need a provider called xyz, which is not present currently in this plugin. Do I have to ask you to integrate that?

If you know coding! - You don't have to wait for it! Go ahead and create your own adapter in your plugin by extending this plugin. If you are non-tech! - Please create an issue over here, and I will try to integrate the provider ASAP.

更新日志:

1.0.0