update_map() is used to update any settings of registered elements.
Instruction:
update_map( $name, $param, $value ); ?>
Example:
update_map(
'kc_icon',
'description',
'NEW DESCRIPTION'
);
// You also can update every param settings
$kc->update_map(
'kc_icon',
'params',
array(
'general' => array(
0 => array(
'name' => 'icon',
'label' => 'Select Icon - NEW'
)
)
)
);
}
?>
Parameters:
- Name [string]: Shortcode name which you want to add more parameters to.
- Param [string]: Name of what will be updated
- Value [string|array]: New value will be updated