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:
add_action('checkout_admin_metaboxes_extensions_settings', 'extensions_settings', 10, 1);
Arguments
$page– The current metaboxes page slug in admin
Example
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);
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.
