Echo the registered options.
This function echos the options registered for the defined admin page.
beans_options( array $menu_slug )
Return: (void)
Parameters
Name | Type | Required | Default | Description |
---|---|---|---|---|
$menu_slug | array | true | - | The menu slug used to register the options. |
Source
function beans_options( $menu_slug ) {
if ( ! class_exists( '_Beans_Options' ) ) {
return false;
}
$class = new _Beans_Options();
$class->page( $menu_slug );
}