The rpress_view_users_role filter is applied to the view users role in restropress. It receives one parameters view_shop_reports:
$user_view_role = apply_filters( ‘rpress_view_users_role’, ‘view_shop_reports’ );
The rpress_view_users_role filter is applied to the view users role in restropress. It receives one parameters view_shop_reports:
$user_view_role = apply_filters( ‘rpress_view_users_role’, ‘view_shop_reports’ );