WordPress at Your Fingertips
filter is not described

woocommerce_analytics_menu_capability filter-hook . WC 1.0

Filters the required capability to use the analytics features.

Usage

add_filter( 'woocommerce_analytics_menu_capability', 'filter_function_name_3812' );
function filter_function_name_3812( $capability ){
	// filter...

	return $capability;
}
$capability(string)
WordPress capability.

Where the hook is called

Loader::get_analytics_capability()
woocommerce_analytics_menu_capability
woocommerce/packages/woocommerce-admin/src/Loader.php 195
static::$required_capability = apply_filters( 'woocommerce_analytics_menu_capability', 'view_woocommerce_reports' );

Where in WP core the hook is used WooCommerce

Usage not found.