woocommerce_rest_order_actions_email_send

woocommerce_rest_order_actions_email_send

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

do_action('woocommerce_rest_order_actions_email_send') is found 1 times:

  • /src/Internal/Orders/OrderActionsRestController.php line 497
    				 *
    				 * @param int    $order_id    The ID of the order.
    				 * @param string $template_id The ID of the template specified in the API request.
    				 */
    				do_action( 'woocommerce_rest_order_actions_email_send', $order->get_id(), $template_id );
    				break;
    		}
    
    		$user_agent = esc_html( $request->get_header( 'User-Agent' ) );
    		$messages[] = sprintf(
    			// translators: 1. The name of an email template; 2. Email address; 3. User-agent that requested the action.