Archives

Checkout: Action – checkout_process_order_X

Description The checkout_process_order_X action hook runs after the billing step of checkout, when the customer has chosen the payment method to pay with. X in the hook name is replaced with the slug of your payment method. So if the slug of your payment method is “mypmethod”, then the hook will be checkout_process_order_mypmethod. Usage Arguments Continue Reading…

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

Newsletters: 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 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