Search
 
SCRIPT & CODE EXAMPLE
 

PHP

woocommerce set default shipping country

add_filter( 'default_checkout_billing_country', 'change_default_checkout_country_and_state' );
add_filter( 'default_checkout_shipping_country', 'change_default_checkout_country_and_state' );
function change_default_checkout_country_and_state( $default ) {
    return 'IT';
}
Comment

PREVIOUS NEXT
Code Example
Php :: what is Laravel Eloquent ORM. 
Php :: square php 
Php :: laravel unique id 
Php :: laravel filter array 
Php :: how to get value in to radio button php 
Php :: laravel one to many relationship example 
Php :: php get array key like 
Php :: PHP executable not found. Install PHP 7 and add it to your PATH or set the php.executablePath setting 
Php :: date and time syntax 
Php :: -regular_price 
Php :: PHP - json_encode() 
Php :: how to fetch all user data form user in wp 
Php :: IP Authorization php code 
Php :: append variable into string php 
Php :: magento 2 select to string 
Php :: get url parameter laravel 5.2 constructor 
Php :: php sentense case 
Php :: install spatie for role and permissions 
Php :: php file date created older than 
Php :: unnamed place placeholders pdo 
Php :: laravel firstorcreate usage 
Php :: access model in config laravel 
Php :: php version not update after windows env file 
Php :: string to array php 
Php :: php ifelse 
Php :: phpstorm using extract to create variales 
Php :: bulk update data in db query in laravel 8 
Php :: redirect to intent url after login laravel 
Php :: Target [LaravelFortifyContractsCreatesNewUsers] is not instantiable. 
Php :: json_decode php multidimensional array 
ADD CONTENT
Topic
Content
Source link
Name
6+1 =