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);

WordPress Plugins

Start selling products, sending newsletters, publishing ads, and more through your own WordPress website using our premium WordPress plugins.


Pin It on Pinterest

%d bloggers like this: