Filter Reference: geodir_search_content_where

Summary

Filter the search query content where values.

Package

GeoDirectory

Parameters

$content_where
(string) (required) The query values, default: `” OR ($wpdb->posts. post_content LIKE “$s” OR $wpdb->posts. post_content LIKE “$s%” OR $wpdb->posts. post_content LIKE “% $s%” OR $wpdb->posts. post_content LIKE “%>$s%” OR $wpdb->posts. post_content LIKE “%n$s%”) “) “`.

Default: None

Change Log

Since: 1.5.0

Used by

geodirectory-functions/listing_filters.php: searching_filter_where() [Line: 816]

Source Code

		$content_where = apply_filters("geodir_search_content_where"," OR ($wpdb->posts.post_content LIKE \"$s\" OR $wpdb->posts.post_content LIKE \"$s%\" OR $wpdb->posts.post_content LIKE \"% $s%\" OR $wpdb->posts.post_content LIKE \"%>$s%\" OR $wpdb->posts.post_content LIKE \"%\n$s%\") ");