woocommerce_admin_get_user_data_fields

woocommerce_admin_get_user_data_fields

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_admin_get_user_data_fields') is found 1 times:

  • /src/Internal/Admin/WCAdminUser.php line 116
    		 *
    		 * @since 4.0.0
    		 * @param array $fields Array of fields to expose over the WP user endpoint.
    		 */
    		return apply_filters( 'woocommerce_admin_get_user_data_fields', array( 'variable_product_tour_shown' ) );
    	}
    
    	/**
    	 * Helper to update user data fields.
    	 *
    	 * @param int    $user_id  User ID.
    

See this hook used in plugins: