WordPress at Your Fingertips
filter is not described

woocommerce_current_user_can_edit_customer_meta_fields filter-hook . WC 1.0

Show Address Fields on edit user pages.

Usage

add_filter( 'woocommerce_current_user_can_edit_customer_meta_fields', 'filter_function_name_8676', 10, 2 );
function filter_function_name_8676( $user, $ID ){
	// filter...

	return $user;
}
$user(WP_User)
-
$ID
-

Where the hook is called

WC_Admin_Profile::add_customer_meta_fields()
woocommerce_current_user_can_edit_customer_meta_fields
WC_Admin_Profile::save_customer_meta_fields()
woocommerce_current_user_can_edit_customer_meta_fields
woocommerce/includes/admin/class-wc-admin-profile.php 158
if ( ! apply_filters( 'woocommerce_current_user_can_edit_customer_meta_fields', current_user_can( 'manage_woocommerce' ), $user->ID ) ) {
woocommerce/includes/admin/class-wc-admin-profile.php 205
if ( ! apply_filters( 'woocommerce_current_user_can_edit_customer_meta_fields', current_user_can( 'manage_woocommerce' ), $user_id ) ) {

Where in WP core the hook is used WooCommerce

Usage not found.