Checkout: Action – checkout_admin_metaboxes_extensions_settings


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.


You can hook to this action like this:

add_action('checkout_admin_metaboxes_extensions_settings', 'extensions_settings', 10, 1);


  • $page – The current metaboxes page slug in admin


Here is a full example of using this action hook:

function extensions_settings($page = null) {
    add_meta_box('mymetabox', "My Settings", "settings", $page, 'normal', 'core');

function settings() {
    //output HTML here for settings as needed

add_action('checkout_admin_metaboxes_extensions_settings', 'extensions_settings', 10, 1);

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

%d bloggers like this: