wpmdb_before_strip_invalid_text_from_query

wpmdb_before_strip_invalid_text_from_query

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wp-migrate-db.2.6.9

apply_filters('wpmdb_before_strip_invalid_text_from_query') is found 1 times:

  • /class/Common/Db/MDBWPDB.php line 38
    	 *
    	 * @return string|WP_Error The converted query, or a WP_Error object if the conversion fails.
    	 */
    	public function strip_invalid_text_from_query( $query ) {
    		$query    = apply_filters( 'wpmdb_before_strip_invalid_text_from_query', $query );
    		$fallback = false;
    		if ( method_exists( $this, 'strip_invalid_text_from_query' ) ) {
    			$query = parent::strip_invalid_text_from_query( $query );
    			$this->flush();
    		} else {
    			$fallback = true;