Update class-opalestate-base-api.php
This commit is contained in:
parent
d2783ee222
commit
671e943138
@ -195,7 +195,7 @@ abstract class Opalestate_Base_API {
|
|||||||
$endpoint = explode( '/', $route );
|
$endpoint = explode( '/', $route );
|
||||||
$endpoint = end( $endpoint );
|
$endpoint = end( $endpoint );
|
||||||
|
|
||||||
if ( in_array( $endpoint, [ 'properties', 'agencies', 'agents' ] ) ) {
|
if ( in_array( $endpoint, [ 'properties', 'agencies', 'agents', 'search-form' ] ) ) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user