AppMarx Partners Widget"; } function appmarx_config_page() { add_submenu_page('themes.php', __('AppMarx Widget Configuration'), __('AppMarx Widget'), 'manage_options', 'appmarx_key_config', 'appmarx_config'); } function appmarx_config() { $appmarx_widget_path = get_option('AppMarxWidgetPath'); $appmarx_widget_enabled = get_option('AppMarxWidgetIsEnabled'); if (isset($_POST['submit'])) { if (isset($_POST['appmarxtoolbarpath'])) { $appmarx_widget_path = $_POST['appmarxtoolbarpath']; if ($_POST['appmarx_widget_enabled'] == 'on') { $appmarx_widget_enabled = 1; } else { $appmarx_widget_enabled = 0; } } else { $appmarx_widget_path = ''; $appmarx_widget_enabled = 0; } update_option('AppMarxWidgetPath', $appmarx_widget_path); update_option('AppMarxWidgetIsEnabled', $appmarx_widget_enabled); echo "

AppMarx Widget settings updated successfully.

\n"; echo ""; } ?>

WordPress AppMarx Partners Widget Configuration


AppMarx Widget Settings

AppMarx Widget On/Off: />