Archives

Newsletters: Filter – newsletters_emailbody_links

Description The newsletters_emailbody_links filter is used to filter the links in the body of the email before it is sent out. This filter is applied before the Bit.ly links are applied and also before the Newsletter plugin’s internal link/click tracking is applied. You can use this filter to add query arguments to links for example. Usage Continue Reading…

Continue Reading

Checkout: Action – checkout_admin_extensions_settings_saved

Description The checkout_admin_extensions_settings_saved runs after the settings have been saved under Checkout > Extensions > Settings tab. Usage You can hook to this action like this: Arguments $data – The $_POST data that was submitted from the Checkout > Extensions > Settings section Example Here is a full example of this action:

Continue Reading

Checkout: Action – checkout_admin_paymentmethods_list

Description Use checkout_admin_paymentmethods_list action hook to add a checkbox to the list of payment methods checkboxes under Checkout > Configuration which is used to enable/disable certain payment methods accordingly. Usage Arguments $paymentmethods – An Array of current payment methods slugs. $class – The current CSS class of the table row Example

Continue Reading

Checkout: Action – checkout_admin_pmethods_metaboxes

Description The checkout_admin_pmethods_metaboxes action hook lets you do something when the metaboxes are registered for the Checkout > Configuration > Payment Methods section. You can use this to add your own metabox with settings for your own payment method for example. Usage Use the action hook like this: Arguments $page – The current dashboard page slug Continue Reading…

Continue Reading

Checkout: Action – checkout_admin_metaboxes_extensions_settings

Description Use the checkout_admin_metaboxes_extensions_settings action hook to do something while the metaboxes are registered for the Checkout > Extensions > Settings section of the plugin. Usage You can hook to this action like this: Arguments $page – The current metaboxes page slug in admin Example Here is a full example of using this action hook:

Continue Reading

Website & Email Hosting

Get the best website & email hosting for speed, security, and peace of mind. No restrictions. Freedom to do what you need in order to run your business.

Host Now

Pin It on Pinterest