Search
 
SCRIPT & CODE EXAMPLE
 

PHP

Comment faire en sorte que le numéro de téléphone ne soit pas un champ obligatoire dans WooCommerce

<?php
add_filter( 'woocommerce_billing_fields', 'wps_remove_filter_phone', 10, 1 );
function wps_remove_filter_phone( $address_fields ) {
  $address_fields['billing_phone']['required'] = false;
  return $address_fields;
}
?>
Comment

PREVIOUS NEXT
Code Example
Php :: implement class in autoloader athow to implment data table in laravel project 
Php :: set renew subscroption stripe update 
Php :: Header requirements for new plugin in wordpress 
Php :: Adding Conditional Classes to Menu Items 
Php :: laravel collection mode 
Php :: codeigniter set db prefix 
Php :: implode remove empty php 
Php :: Laravel Dropzone Attachment Required is not working as expected 
Php :: Akkhor - School Management Admin Template download 
Php :: md5_file (PHP 4 = 4.2.0, PHP 5, PHP 7, PHP 8) md5_file — Calculates the md5 hash of a given file 
Php :: example of valid php variables 
Php :: laravel upsert always inserting 
Php :: send emails with runtime configurations in laravelk 
Php :: laravel 8 remove public from url 
Php :: laravel import csv 
Php :: To enqueue css & js quickly 
Php :: divi layout injector shortcode module in function php file 
Php :: how to click anchor tag in selenium in php 
Php :: execcommand insert video 
Php :: Cant find AddHandler of PHP inside Apache configuration files 
Php :: sql update views +1 
Php :: model coomad laravel 
Php :: html vs php 
Php :: how to make text bigger in php file 
Php :: php adding options from an array 
Php :: php strip period 
Php :: php doctrine findby greater than 
Php :: PHP Create Swiss QR-Bill API 
Php :: Builder Pattern Method Chaining 2 
Php :: Modificar el pie de página del panel de administración de WordPress 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =