• Home
  • Knowledgebase
  • DevDocs
  • Translations
  • Support
  • Live Preview

logo DevDocs

By The Events Calendar
Filter by type:
Skip to content
Filter by type:
Search
Browse: Home / src/Events/Admin/Notice/Rest_Api.php

Rest_Api

Plugin: The Events Calendar

Class: Class Rest_Api

Namespace: TEC\Events\Admin\Notice

Rest_Api::hook()

Plugin: The Events Calendar

Method: Constructor.

Namespace: TEC\Events\Admin\Notice

Rest_Api::should_display()

Plugin: The Events Calendar

Method: Checks if we are in a TEC page or in the main Dashboard.

Namespace: TEC\Events\Admin\Notice

Rest_Api::is_rest_api_blocked()

Plugin: The Events Calendar

Method: Checks if our endpoints are accessible.

Namespace: TEC\Events\Admin\Notice

Rest_Api::notice()

Plugin: The Events Calendar

Method: HTML for the notice when we have blocked REST API endpoints.

Namespace: TEC\Events\Admin\Notice

tec_events_rest_api_response_blocked

Plugin: The Events Calendar

Filter Hook: Filters whether the REST API response is considered to be blocked.

tec_events_rest_api_response_blocked_due_to_timeout

Plugin: The Events Calendar

Filter Hook: Filters whether the REST API response is considered to be blocked due to a timeout.

The Events Calendar
  • Home
  • Products
  • Blog
  • Support
© 2026 The Events Calendar Terms and Conditions Privacy