deleted

deleted

Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.10.4.3

do_action('deleted') is found 4 times:

  • /src/Internal/RestApi/Routes/V4/Customers/Controller.php line 364
    		 * @param WP_REST_Response $response  The response returned from the API.
    		 * @param WP_REST_Request  $request   The request sent to the API.
    		 * @since 10.2.0
    		 */
    		do_action( $this->get_hook_prefix() . 'deleted', $user_data, $response, $request );
    
    		return $response;
    	}
    
    	/**
    	 * Check if a given request has access to read items.
    
  • /src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php line 346
    		 * @param WP_REST_Response $response The response data.
    		 * @param WP_REST_Request  $request  The request sent to the API.
    		 * @since 10.2.0
    		 */
    		do_action( $this->get_hook_prefix() . 'deleted', $note, $response, $request );
    
    		return $response;
    	}
    
    	/**
    	 * Check if an order is valid.
    
  • /src/Internal/RestApi/Routes/V4/Orders/Controller.php line 454
    		 * @param WP_REST_Response $response The response data.
    		 * @param WP_REST_Request  $request  The request sent to the API.
    		 * @since 10.2.0
    		 */
    		do_action( $this->get_hook_prefix() . 'deleted', $order, $response, $request );
    
    		return $response;
    	}
    
    	/**
    	 * Check if an order is valid.
    
  • /src/Internal/RestApi/Routes/V4/Refunds/Controller.php line 358
    		 * @param WP_REST_Response $response The response data.
    		 * @param WP_REST_Request  $request  The request sent to the API.
    		 * @since 10.2.0
    		 */
    		do_action( $this->get_hook_prefix() . 'deleted', $refund, $response, $request );
    
    		return $response;
    	}
    
    	/**
    	 * Check if an order is valid.