WHMCS Message Notifications
A plugin designed to streamline and enhance your communication experience. It revolutionizes client engagement with seamless SMS and WhatsApp messaging, offering unparalleled support across a wide range of actions.
This plugin requires Zender – WhatsApp & SMS Gateway SaaS for Automation, Chatbots, and Marketing
Important Note
This plugin is fully tested only in WMHCS v8.7, if you use this on a lower version, you might encounter some issues.
Supported Actions
document.querySelectorAll('oembed[url]').forEach(function(el) { var url = el.getAttribute('url'); var iframe = document.createElement('iframe'); iframe.width = '100%'; iframe.height = '400'; iframe.frameBorder = '0'; iframe.allowFullscreen = true; iframe.style = 'border-radius:8px; margin-top:10px;'; var ytMatch = url.match(/(?:youtube\.com\/watch\?v=|youtu\.be\/)([^&\s]+)/); var fbMatch = url.match(/facebook\.com/); if (ytMatch) { iframe.src = 'https://www.youtube.com/embed/' + ytMatch[1]; el.parentNode.replaceChild(iframe, el); } else if (fbMatch) { iframe.src = 'https://www.facebook.com/plugins/video.php?href=' + encodeURIComponent(url) + '&width=640'; el.parentNode.replaceChild(iframe, el); } });
Published:
Aug 06, 2026 09:24 AM
Version:
v2.0
Category: