We'll create fresh WordPress site with XMPP Enabled installed. You have 20 minutes to test the plugin after that site we'll be deleted.
XMPP Enabled provides a single function API for other plugins that use Jabber/XMPP messaging protocol.
See API section for details if you want to use XMPP protocol in your notifications.
The single function for sending XMPP Messages is xmpp_enabled
. It can be called directly from any WordPress plugin
xmpp_enabled($recipient, $message, $subject='', $type='normal');
Example: xmpp_send('[email protected]',"Read our new post:\nhttp://something.com/new-post",'New post is published','headline');
XMPP Enabled creates it’s own section and you’re free to use it for your plugins. The code is 'xmpp-enabled'
Example: add_submenu_page('xmpp-enabled', 'Jabber Comment Notifications', 'Comment Notifications', 'administrator', __FILE__, 'jcommnotify_settings');
See Adding Administration Menus in WordPress Codex for further details