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
Return Return
(string)
Source Source
File: includes/class.llms.student.query.php
233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 | private function sql_having() { global $wpdb ; $sql = "HAVING status IS NOT NULL AND {$this->sql_status_in()}" ; if ( $this ->get( 'suppress_filters' ) ) { return $sql ; } /** * Filters the query HAVING clause * * @since Unknown * * @param string $sql The HAVING clause of the query. * @param LLMS_Student_Query $student_query Instance of LLMS_Student_Query. */ return apply_filters( 'llms_student_query_having' , $sql , $this ); } |
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. |