Contents |
Updates the "hotaru_pluginsettings" table with the provided data.
<?php $h->updateSetting( $plugin_name_settings, $data_array, $plugin_folder_name ) ?>
$plugin_name_settings | string
$data_array | serialized array
$plugin_folder_name | string | optional
<?php
$plugin1['show_menu'] => 'true';
$plugin1['file_path'] => 'folder1';
$h->updateSetting('plugin1_settings',serialize($plugin1),'plugin1');
?>
updateSetting() is located in content/hotaru.php which calls the pluginSettings.php file from the LIBS folder.