woocommerce_rest_prepare_customer

woocommerce_rest_prepare_customer

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_rest_prepare_customer') is found 2 times:

  • /includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php line 560
    		 * @param WP_REST_Response $response   The response object.
    		 * @param WP_User          $user_data  User object used to create response.
    		 * @param WP_REST_Request  $request    Request object.
    		 */
    		return apply_filters( 'woocommerce_rest_prepare_customer', $response, $user_data, $request );
    	}
    
    	/**
    	 * Update customer meta fields.
    	 *
    	 * @param WC_Customer $customer
    
  • /includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php line 111
    		 * @param WP_REST_Response $response   The response object.
    		 * @param WP_User          $user_data  User object used to create response.
    		 * @param WP_REST_Request  $request    Request object.
    		 */
    		return apply_filters( 'woocommerce_rest_prepare_customer', $response, $user_data, $request );
    		//phpcs:enable WooCommerce.Commenting.CommentHooks.MissingSinceComment
    	}
    
    	/**
    	 * Update customer meta fields.
    	 *