Update class-opalestate-base-api.php

This commit is contained in:
Hoang Huu 2019-10-26 16:37:07 +07:00
parent d2783ee222
commit 671e943138

View File

@ -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;
} }