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 :: add multi product at the same time using repearter default view laravel 
Php :: eloquentdatatable add column 
Php :: global phpcs 
Php :: show all custom taxonomy term & title with filter hook 
Php :: how to count number of rows in sql using php 
Php :: Laravel To determine if an item is not present in the session 
Php :: magento update attribute value without using object manager 
Php :: cara looping abjad with array 
Php :: laravel components scripts 
Php :: faire un fichier zip en php 
Php :: code to set error for du[licate entry in php 
Php :: laravel csrf token or protection or laravel form 
Php :: 0 == "string" php 
Php :: eloquent search from child table column 
Php :: is_resource returns false 
Php :: Relationship 1-n multiple BACKPACK Laravel 
Php :: php decode base64 online 
Php :: Regenerate session ID and remove all session data 
Php :: undefined function bcmul php linux 
Php :: get auth guard user laravel 
Php :: datetime confict function php 
Php :: check file extension in php 
Php :: eager loading set limit to relationship 
Php :: provenienza geografica di un utente php webmaster 
Php :: what is the mixmam size that php can take 
Php :: function wp_maintenance_mode() { 763 
Php :: Laravel 8 Factory - One To Many (Polymorphic) Relationship 
Php :: php list all files in directory and subdirectories 
Php :: laravel route name with parameters 
Php :: what does ? do in php 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =