Archives

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

Checkout: Filter – checkout_extensions_list

Description The checkout_extensions_list filter let’s you filter the list of extension plugins for several purposes such as listing under Checkout > Extensions for example. Usage The filter can be used like this: Arguments $extensions – The current list of extensions registered. Example

Continue Reading

Checkout: Filter – checkout_recurring_pmethods

Description The checkout_recurring_pmethods filter hook let’s you add/remove from the available, recurring payment methods in the plugin by slug. Usage You can use the filter like this: Arguments $recurring_pmethods – An Array of recurring payment methods by slugs. Example

Continue Reading

Beautiful Newsletter Templates

Professional newsletter templates that are fully responsive for desktop, tablet, and mobile. They are 100% cross-client compatible.

See Them

Pin It on Pinterest