Hotaru Docs

 [həʊdɒks]

Function Reference/updateSetting

Description

Updates the "hotaru_pluginsettings" table with the provided data.

Usage

<?php $h->updateSetting( $plugin_name_settings, $data_array, $plugin_folder_name ) ?>

Parameters

$plugin_name_settings | string

$data_array | serialized array

$plugin_folder_name | string | optional

Return Values

no value returned.

Examples

<?php
     $plugin1['show_menu'] => 'true';
     $plugin1['file_path'] => 'folder1';  
     $h->updateSetting('plugin1_settings',serialize($plugin1),'plugin1');
?>

Source File

updateSetting() is located in content/hotaru.php which calls the pluginSettings.php file from the LIBS folder.

Related