Elementor add phone mask
Mon Apr 15 2024 15:10:02 GMT+0000 (Coordinated Universal Time)
Saved by
@mastaklance
/* ************************************ Elementor вставка МАСКи в поле телефон ************************************* */
function biz2web_scripts() {
$uploads = wp_upload_dir();
$upload_path = $uploads['baseurl'];
wp_enqueue_script('masked-input', $upload_path . '/mask/jquery.maskedinput.min.js', array('jquery'), '1.1', true);
}
add_action( 'wp_enqueue_scripts', 'biz2web_scripts' );
content_copyCOPY
Comments