woocommerce_before_settings_

woocommerce_before_settings_

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_before_settings_') is found 1 times:

  • /includes/admin/views/html-admin-settings.php line 21
    	exit;
    }
    ?>
    <div class="wrap woocommerce">
    	<?php do_action( 'woocommerce_before_settings_' . $current_tab ); ?>
    	<form method="<?php echo esc_attr( apply_filters( 'woocommerce_settings_form_method_tab_' . $current_tab, 'post' ) ); ?>" id="mainform" action="" enctype="multipart/form-data">
    		<nav class="nav-tab-wrapper woo-nav-tab-wrapper">
    			<?php
    
    			foreach ( $tabs as $slug => $label ) {
    				echo '<a href="' . esc_html( admin_url( 'admin.php?page=wc-settings&tab=' . esc_attr( $slug ) ) ) . '" class="nav-tab ' . ( $current_tab === $slug ? 'nav-tab-active' : '' ) . '">' . esc_html( $label ) . '</a>';