diff --git a/inc/api/v1/agency.php b/inc/api/v1/agency.php index cc816175..0e4e6cc0 100755 --- a/inc/api/v1/agency.php +++ b/inc/api/v1/agency.php @@ -80,11 +80,11 @@ class Opalestate_Agency_Api extends Opalestate_Base_API { 'callback' => [ $this, 'get_item' ], // 'permission_callback' => [ $this, 'get_item_permissions_check' ], ], - [ - 'methods' => WP_REST_Server::EDITABLE, - 'callback' => [ $this, 'update_item' ], - // 'permission_callback' => [ $this, 'update_item_permissions_check' ], - ], + // [ + // 'methods' => WP_REST_Server::EDITABLE, + // 'callback' => [ $this, 'update_item' ], + // // 'permission_callback' => [ $this, 'update_item_permissions_check' ], + // ], ] ); diff --git a/inc/api/v1/agent.php b/inc/api/v1/agent.php index 8f33cc7a..4dd28160 100755 --- a/inc/api/v1/agent.php +++ b/inc/api/v1/agent.php @@ -71,11 +71,11 @@ class Opalestate_Agent_Api extends Opalestate_Base_API { 'callback' => [ $this, 'get_item' ], // 'permission_callback' => [ $this, 'get_item_permissions_check' ], ], - [ - 'methods' => WP_REST_Server::EDITABLE, - 'callback' => [ $this, 'update_item' ], - // 'permission_callback' => [ $this, 'update_item_permissions_check' ], - ], + // [ + // 'methods' => WP_REST_Server::EDITABLE, + // 'callback' => [ $this, 'update_item' ], + // // 'permission_callback' => [ $this, 'update_item_permissions_check' ], + // ], ] ); diff --git a/inc/api/v1/property.php b/inc/api/v1/property.php index c54e8415..3fdc07f9 100644 --- a/inc/api/v1/property.php +++ b/inc/api/v1/property.php @@ -75,11 +75,11 @@ class Opalestate_Property_Api extends Opalestate_Base_API { 'callback' => [ $this, 'get_item' ], // 'permission_callback' => [ $this, 'get_item_permissions_check' ], ], - [ - 'methods' => WP_REST_Server::EDITABLE, - 'callback' => [ $this, 'update_item' ], - // 'permission_callback' => [ $this, 'update_item_permissions_check' ], - ], + // [ + // 'methods' => WP_REST_Server::EDITABLE, + // 'callback' => [ $this, 'update_item' ], + // // 'permission_callback' => [ $this, 'update_item_permissions_check' ], + // ], // [ // 'methods' => WP_REST_Server::DELETABLE, // 'callback' => [ $this, 'delete_item' ],