Created
June 18, 2025 07:30
-
-
Save propertyhive/32e8e4fb0de60caf2338b6e69a3793df to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'elementor/query/oceanvillagequery', 'oceanvillage_elementor_query', 99 ); | |
function oceanvillage_elementor_query( $query ) | |
{ | |
$meta_query = $query->get('meta_query'); | |
$meta_query[] = array( | |
'key' => '_address_concatenated', | |
'value' => 'Ocean Village', | |
'compare' => 'LIKE' | |
); | |
$query->set( 'meta_query', $meta_query ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment