security['disable_rest_api'] ) && empty( $this->security['disable_rest_api_allow_ips'] ) ) { return new \WP_Error( 'rest_api_disabled', esc_html__( 'REST API is disabled.', 'adminease' ), [ 'status' => 403 ] ); } return $result; } }