Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Student_Query::sql_having()
Retrieve prepared SQL for the HAVING clause
Contents
Return Return
(string)
Source Source
File: includes/class.llms.student.query.php
if ( in_array( $field, $sort_fields ) ) {
return true;
}
if ( $this->get( 'search' ) ) {
$search_fields = array( 'last_name', 'first_name', 'user_email' );
if ( in_array( $field, $search_fields ) ) {
return true;
}
}
return false;
}
/**
* Retrieve prepared SQL for the HAVING clause
*
* @since 3.4.0
* @since 3.13.0 Unknown.
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 4.10.2 | Drop usage of this->get_filter( 'having' ) in favor of 'llms_student_query_having'. |
| 3.4.0 | |
| 3.13.0 | Introduced. |