/** * Outputs the HTML for this widget. * * @param array An array of standard parameters for widgets in this theme * @param array An array of settings for this widget instance * @return void Echoes it's output **/ function widget($args, $instance) { $settings = cfcp_about_get_settings(); extract($args, EXTR_SKIP); echo $before_widget; include 'view.php'; echo $after_widget; }
function cfcp_about_admin_form() { $settings = cfcp_about_get_settings(); include 'views/admin-view.php'; }