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: Code Snippets

WordPress Shopping Cart plugin code snippets Shopping Cart Check how many items are in the shopping cart

Continue Reading

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

Earn Money by Referring People

Refer customers to us with your affiliate link and earn commission on sales from your link.

Sign Up

Pin It on Pinterest