WordPress at Your Fingertips
filter is not described

woocommerce_admin_disabled filter-hook . WC 1.0

Filter allowing WooCommerce Admin optional features to be disabled.

Usage

add_filter( 'woocommerce_admin_disabled', 'filter_function_name_1711' );
function filter_function_name_1711( $disabled ){
	// filter...

	return $disabled;
}
$disabled(true|false)
False.

Where the hook is called

Features::get_available_features()
woocommerce_admin_disabled
WC_Admin_Dashboard::status_widget()
woocommerce_admin_disabled
WC_Tracker::get_tracking_data()
woocommerce_admin_disabled
Features::add_features_settings()
woocommerce_admin_disabled
woocommerce/packages/woocommerce-admin/src/Features/Features.php 156
if ( apply_filters( 'woocommerce_admin_disabled', false ) ) {
woocommerce/includes/admin/class-wc-admin-dashboard.php 130
$is_wc_admin_disabled = apply_filters( 'woocommerce_admin_disabled', false );
woocommerce/includes/class-wc-tracker.php 167
$data['wc_admin_disabled'] = apply_filters( 'woocommerce_admin_disabled', false ) ? 'yes' : 'no';
woocommerce/packages/woocommerce-admin/src/Features/Features.php 282
$features_disabled = apply_filters( 'woocommerce_admin_disabled', false );

Where in WP core the hook is used WooCommerce

Usage not found.