Filter Reference: geodir_current_location_terms
Summary
Filter the location terms.
Package
GeoDirectory
Parameters
- $location_array
- (array) (required) {
Attributes of the location_array. @type string $gd_country The country slug. @type string $gd_region The region slug. @type string $gd_city The city slug. }.- Default: None
- $location_array_from
- (string) (required) Source type of location terms.
- Default: session
- $gd_post_type
- (string) (required) WP post type.
- Default: None
Change Log
Since: 1.4.6
Used by
geodirectory-functions/location_functions.php: geodir_get_current_location_terms() [Line: 392]
Source Code
$location_array = apply_filters( 'geodir_current_location_terms', $location_array, $location_array_from, $gd_post_type );