Update on off settings
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
global $property;
|
||||
|
||||
if ( ! $property->get_block_setting( 'nearby' ) ) {
|
||||
if ( 'on' !== $property->get_block_setting( 'nearby' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -50,4 +50,4 @@ if ( ! $latitude || ! $longitude ) {
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user