Update API

This commit is contained in:
Hoang Huu
2019-10-04 13:26:00 +07:00
parent 51417949b3
commit 218c914e0d
9 changed files with 832 additions and 171 deletions

View File

@@ -69,7 +69,7 @@ class Opalestate_Query {
// if this has not any relationship with any user
if ( $user_id ) {
$author = [ $user_id ]; //echo '<pre>'.print_r( $post_id, 1 );die;
$author = [ $user_id ];
$team = get_post_meta( $agency_id, OPALESTATE_AGENCY_PREFIX . 'team', true );
if ( is_array( $team ) ) {