Browse: Home / Functions /


learndash_get_essays_pending_count( array $query_args = array(),  string $return_field = 'found_posts' )

Gets the count of pending Essays(sfwd-essays) posts.

Description #

Parameters #


(array) (Optional) The query arguments to get the pending essays count.

Default value: array()


(string) (Optional) The WP_Query field to return.

Default value: 'found_posts'

Return #

(mixed) Returns the WP_Query object if the return_field is empty otherwise the specified WP_Query return field.

Source #

File: includes/ld-reports.php

Changelog #

Version Description
2.3.0 Introduced.