learndash_get_essays_pending_count( array $query_args = array(), string $return_field = 'found_posts' )
Gets the count of pending Essays(sfwd-essays) posts.
Description Description
Parameters Parameters
- $query_args
-
(Optional) The query arguments to get the pending essays count.
Default value: array()
- $return_field
-
(Optional) The
WP_Query
field to return. Default 'found_posts'.Default value: 'found_posts'
Return Return
(mixed) Returns the WP_Query
object if the return_field is empty otherwise the specified WP_Query
return field.
Source Source
File: includes/ld-reports.php
Changelog Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |