/** * Echo the registered options. * * This function echos the options registered for the defined admin page. * * @since 1.0.0 * * @param array $menu_slug The menu slug used to register the options. */ function beans_options($menu_slug) { if (!class_exists('_Beans_Options')) { return false; } $class = new _Beans_Options(); $class->page($menu_slug); }