Search
 
SCRIPT & CODE EXAMPLE
 

PHP

Change Initial Country For Caldera Forms Phone Fields

<?php
/**
* Set intiial country for Caldera Forms phone fields
*/
add_filter( 'caldera_forms_phone_js_options', function( $options){
	//Use ISO_3166-1_alpha-2 formatted country code
	$options[ 'initialCountry' ] = 'CH';
	return $options;
});
Comment

Only Show Specific Countries In Caldera Forms Phone Field

<?php
/**
 * Show only specific countries' flag in Caldera Forms phone fields
 */
add_filter( 'caldera_forms_phone_js_options', function($options ){
	$options[ 'onlyCountries' ] = array( 'cn', 'tw' );
	return $options;
});
Comment

PREVIOUS NEXT
Code Example
Php :: Comment faire en sorte que le numéro de téléphone ne soit pas un champ obligatoire dans WooCommerce 
Php :: deploy php composer with vercel.com 
Php :: php jwt firebase 
Php :: wpconfig wp debug 
Php :: menu order for posts 
Php :: When you click on the search button, it is moved to the page laravel 
Php :: php import 
Php :: Laravel Exclude URI from csrf token verification 
Php :: Personnaliser le logo de connexion WordPress sans plugin 
Php :: simple php round When a parameter is passed with a specific precision value 
Php :: create global function laravel 
Php :: how to disable laravel cors 
Php :: how-to-add-pagination-in-search-results wordpress 
Php :: King Composer Theme Export 
Php :: pht get header from request 
Php :: crc32 (PHP 4 = 4.0.1, PHP 5, PHP 7, PHP 8) crc32 — Calculates the crc32 polynomial of a string 
Php :: php curl upload linkedin image 
Php :: magento2 migration 
Php :: php code inside html 
Php :: codeigniter 4 get method deprecated 
Php :: replace class 
Php :: add class to all text input wordpress 
Php :: CausesActivity trait 
Php :: mysqli_fetch_all() expects parameter 1 to be mysqli_result, boolean given in C:xampphtdocscomplete-blog-phpadminincludespost_functions.php on line 31 
Php :: php decrement variable by 1 
Php :: php tutorials account ledger 
Php :: docker php-fpm 
Php :: php composer copy library to public vendor folder 
Php :: write to error log opencart 
Php :: wordpress deny user to access wp-admin programmatically 
ADD CONTENT
Topic
Content
Source link
Name
1+7 =