Action Reference: geodir_search_near_text

Summary

Filter the “Near” text value for the search form.

Description

This is the input “value” attribute and can change depending on what the user searches and is not always the default value.

Parameters

$near
(string) (required) The current near value.

Default: None
$default_near_text
(string) (required) The default near value.

Default: None

Change Log

Since: 1.0.0

Used by

geodirectory/geodirectory-templates/listing-filter-form.php: [Line: 112]

Source Code

                $near = apply_filters('geodir_search_near_text', $near, $default_near_text);