Archives
Newsletters: Filter – wpml_send_body
Description The wpml_send_body filter is used to filter the body/content of an email just before it is sent by the Newsletter plugin to the subscriber. It applies disregarding of the mail type you are using to send the emails. Usage View the code on Gist. Arguments $body (The body/content of the email) $phpmailer (The phpMailer Continue Reading…
Continue ReadingNewsletters: Action – wpml_subscriber_saved
Description wpml_subscriber_saved action hook is fired when a subscriber is saved (created or updated). Arguments $subscriber_id (ID of the subscriber that was saved). $data (The data Array used to save the subscriber). Example
Continue ReadingNewsletters: Function – wpml_hardcode
Description wpml_hardcode lets you hardcode a WordPress Newsletter plugin subscribe form with PHP code into any plugin or theme according to your needs. Usage Examples Hardcode for a specific mailing list Hardcode a subscribe form for mailing list with ID 7. Hardcode a select drop down for all mailing lists This will show a select Continue Reading…
Continue ReadingNewsletters: Function Reference
The WordPress Newsletter plugin has it’s own custom functions similar to some of the WordPress query, template and internal functions which you can use during development. New functions are constantly added to this documentation so please search or request a new function if you are looking for something specific. Subscribe Form Functions wpml_hardcode – Hardcode a subscribe form Continue Reading…
Continue ReadingNewsletters: Filter Reference
The WordPress Newsletter plugin will fire filter hooks throughout its code so that you can hook with custom filters onto these filters hooks while receiving parameters and apply your own functions. It works exactly like the WordPress Plugin API/Filter Reference by using the apply_filters()function and the filter hooks are used in the same manner as that of WordPress. Continue Reading…
Continue ReadingWordPress Plugins
Start selling products, sending newsletters, publishing ads, and more through your own WordPress website using our premium WordPress plugins.