| Linux server27.hostingraja.org 2.6.32-954.3.5.lve1.4.93.el6.x86_64 #1 SMP Wed Oct 4 17:04:29 UTC 2023 x86_64 Path : /home/udaipurk/www/websites/rishhh/wp-content/plugins/et-core-plugin/config/vc/fields/ |
| Current File : //home/udaipurk/www/websites/rishhh/wp-content/plugins/et-core-plugin/config/vc/fields/uniqid.php |
<?php if ( ! defined( 'ET_CORE_DIR' ) ) exit( 'No direct script access allowed' );
/**
* Xstore unique id
*/
if ( ! function_exists( 'xstore_add_uniqid_param' ) ) {
function xstore_add_uniqid_param( $settings, $value ) {
// if ( !$value ) {
$value = 'et_custom_uniqid_new_' . uniqid();
// }
$output = '<input type="text" class="wpb_vc_param_value wpb-textinput hidden ' . $settings['param_name'] . ' textfield" name="' . $settings['param_name'] . '" value="' . esc_attr( $value ) . '" />';
return $output;
}
}