efiction_settings

Settings class is loaded in e_module and it is available then for all site, not only for the efiction module (admin area too)

e_module.php

e107::getSingleton('efiction_settings', e_PLUGIN.'efiction/classes/settings.class.php');

get_settings()

$settings = efiction_settings::get_settings();

Used in

Description

From version

header.php

get settings

✅1.0.3

get_single_setting($setting_name)

$itemsperpage =  efiction_settings::get_single_setting('itemsperpage');

Until all global variables are not replaced, this has to be in header.php

foreach($settings as $var => $val) { $$var = stripslashes($val); }

Last updated