woocommerce_settings_form_method_tab_ . $current_tab, post
woocommerce_settings_form_method_tab_ . $current_tab, post
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_settings_form_method_tab_ . $current_tab, post') is found 1 times:
- /includes/admin/views/html-admin-settings.php line 130
?> <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"> <?php if ( ! $hide_nav ) : ?> <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>';