• 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 / 6.5.0

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

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