Search
 
SCRIPT & CODE EXAMPLE
 

PHP

woocommerce phone number not required

add_filter( 'woocommerce_billing_fields', 'my_optional_fields' );
 
function my_optional_fields( $address_fields ) {
    $address_fields['billing_phone']['required'] = false;
    return $address_fields;
}
Comment

PREVIOUS NEXT
Code Example
Php :: laravel collection pipe 
Php :: php location header 
Php :: bindparam php 
Php :: how to create access token in laravel 
Php :: php receive post 
Php :: drupal 9 modify a views query 
Php :: get post info in php 
Php :: random element in faker 
Php :: change field name in validation laravel 8 
Php :: openssl encrypt php with key 
Php :: php line break 
Php :: password_verify() php 
Php :: ubuntu install php 
Php :: json encode 
Php :: centos 8 laravel permission denied 
Php :: learndash edit profile link 
Php :: php error log 
Php :: laravel route contains particular segment 
Php :: foreach date php 
Php :: Unable to locate package php7.4 for kali 2021 
Php :: define int variable in php 
Php :: laravel pagination layout issue 
Php :: how to use seeders in laravel 
Php :: connect sql server php 
Php :: create multiple session in php 
Php :: phpmyadmin centos 8 
Php :: php get item position in array 
Php :: php disable buutton 
Php :: how to merge 2 laravel eloquent records 
Php :: select option in laravel 
ADD CONTENT
Topic
Content
Source link
Name
5+9 =