learndash_restrict_assignment_listings

learndash_restrict_assignment_listings( WP_Query $query )

Restricts assignment listings view to group leaders only.


Description #

Fires on parse_query hook.


Parameters #

$query

(WP_Query) (Required) The WP_Query query object.


Return #

(WP_Query) The modified WP_Query query object.


Source #

File: includes/ld-assignment-uploads.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.