Browse: Home / Classes / LD_REST_Quiz_Statistics_Controller_V2 /

LD_REST_Quiz_Statistics_Controller_V2::statistics_ref_users_where

LD_REST_Quiz_Statistics_Controller_V2::statistics_ref_users_where( string $where )

Filter the where clause of the query to fetch statistics refs based on user IDs.


Description #


Parameters #

$where

(string) (Required) Where clause for query.


Return #

(string)


Source #

File: includes/rest-api/v2/class-ld-rest-quiz-statistics-controller.php


Changelog #

Changelog
Version Description
3.3.0 Introduced. 1. Admins have access to all statistics. 2. Group leaders will have access to statistics of only those users which belong to their groups. 3. Other logged in users will have access to only their stats. 4. Logged out user cannot access stats.