Search
 
SCRIPT & CODE EXAMPLE
 

PHP

Make a Woo required field not required

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

PREVIOUS NEXT
Code Example
Php :: - root composer.json requires php ^7.2 but your php version (8.0.1) does not satisfy that requirement. 
Php :: laral db innodb 
Php :: ERROR: Could not enable dependency mpm_prefork for php7.4, aborting 
Php :: php add to multidimensional array 
Php :: replace key in php 
Php :: get only the first two word from a string php 
Php :: laravel npm run dev mix error FIX 
Php :: laravel use variable inside callback function 
Php :: php camelcase to snake case 
Php :: abort in laravel 
Php :: get curret timedate php 
Php :: wordpress get plugin root directory 
Php :: php loops 
Php :: php curl add user agent 
Php :: php loop array 
Php :: how to display the database table names list in codeigniter 
Php :: laravel 6 pagination example 
Php :: laravel loop index 
Php :: php call class method dynamically 
Php :: upload multiple images in php 
Php :: laravel activity log package 
Php :: wherein elequent 
Php :: php-fpm docker 
Php :: how to write tests for php 
Php :: include() in php 
Php :: laravel find duplicate rows 
Php :: php reverse dns lookup 
Php :: laravel Please provide a valid cache path 
Php :: install laravel on windows 
Php :: if function not exists php 
ADD CONTENT
Topic
Content
Source link
Name
7+4 =