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_search()
Retrieve the prepared SEARCH query for the WHERE clause
Description Description
Return Return
(string)
Source Source
File: includes/class.llms.student.query.php
private function sql_search() { $sql = ''; if ( $this->get( 'search' ) ) { global $wpdb; $sql .= ' AND ( m_last.meta_value LIKE %s OR m_first.meta_value LIKE %s OR u.user_email LIKE %s )'; } if ( $this->get( 'suppress_filters' ) ) { return $sql; } return apply_filters( $this->get_filter( 'search' ), $sql, $this ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: