Search
 
SCRIPT & CODE EXAMPLE
 

PHP

woocommerce action order complete

function mysite_woocommerce_order_status_completed( $order_id ) {
    error_log( "Order complete for order $order_id", 0 );
}
add_action( 'woocommerce_order_status_completed', 'mysite_woocommerce_order_status_completed', 10, 1 );
Comment

PREVIOUS NEXT
Code Example
Php :: php string to char array 
Php :: php convert object to array 
Php :: laravel create project command 
Php :: php convert special characters to unicode 
Php :: php download rate limit 
Php :: Get Parameters From a URL String in PHP 
Php :: make model -mcr laravel 
Php :: guzzlehttp php basic auth 
Php :: wp-admin redirecting to the https wordpress 
Php :: add column in existing table in laravel 
Php :: seconds to days hours minutes seconds php 
Php :: WP Uploads Media Path 
Php :: tackle discount in php laravel blade 
Php :: Carbon Add Months To Date In Laravel 
Php :: how to install dompdf in laravel 
Php :: wordpress get link to post by id 
Php :: Creating a Basic Route in Laravel 8 
Php :: start php session 
Php :: php mkdir recursive 
Php :: remove first character from string laravel 
Php :: Numbers Formater Decimal & Thousand Separator PHP 
Php :: Get User IP address (PHP) 
Php :: php time difference in hours 
Php :: mt_rand 
Php :: laravel update and insert transaction 
Php :: php check of object is empty 
Php :: how get the latest arraye value in laravel 
Php :: Add Product Short Description To Product Category In WooCommerce 
Php :: check if the form is submitted php 
Php :: php sqrt 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =