perPage = (int) $_REQUEST['per_page']; // phpcs:ignore WordPress.Security.NonceVerification.Recommended } return $this->perPage; } /** * Prepare a date for array / JSON serialization. * * @param \DateTimeInterface $date * @return string */ protected function serializeDate(\DateTimeInterface $date) { return $date->format($this->getDateFormat()); } }