mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-04-29 11:32:21 +08:00
5 lines
169 B
Text
5 lines
169 B
Text
add_filter( 'woocommerce_settings_tabs_array', 'remove_advanced_tab', 100 );
|
|
function remove_advanced_tab( $tabs ) {
|
|
unset( $tabs['advanced'] );
|
|
return $tabs;
|
|
}
|