Function Reference: geodir_is_geodir_search
Summary
This function has not been documented yet.
Source File
geodir_is_geodir_search() is located in geodir_advance_search_filters/geodirectory_advance_search_function.php [Line: 164]
Source Code
function geodir_is_geodir_search( $where ) { global $wpdb; $return = true; if( $where != '' ) { $match_where = strtolower( "and" . $wpdb->posts . ".post_type='post'" ); $check_where = strtolower( $where ); $check_where = preg_replace( '/s/', '', $check_where ); if( strpos( $check_where, $match_where ) !== false ) { $return = false; } } return $return; }