';
foreach ( $admin_page_views as $page_view ) {
// Optionally we can have null in $page_view, make sure we handle it correctly
if ( empty( $page_view ) || ! is_array( $page_view ) ) {
continue;
}
// Fill missing fields in admin page view configuration array with default values
$page_view = self::admin_page_view_fill_missing_with_default( $page_view );
// Do not render view if the user does not have permission
if ( ! current_user_can( $page_view['minimum_required_capability'] ) ) {
continue;
} ?>
'; ?>
'error', 'title' => __( 'Cannot load configuration.', 'echo-knowledge-base' ), 'desc' => EPKB_Utilities::contact_us_for_support() ] ); ?>