generate_dashboard_page_capability

Note: This is a new filter in GeneratePress 2.0

The generate_dashboard_page_capability filter allows you to set the required user role for viewing the Appearance > GeneratePress page in the Dashboard.

Default (string): edit_theme_options

Usage

Please refer to the Using Filters article to learn how to use this filter.