• 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 / Classes / Tribe__JSON_LD__Abstract / Tribe__JSON_LD__Abstract::unregister_all()
Product: Tribe Common

Tribe__JSON_LD__Abstract::unregister_all()

Empties the registered posts cache variable.

Added for testing purposes.


Source

File: src/Tribe/JSON_LD/Abstract.php

	public static function unregister_all() {
		self::$posts = array();
		self::$types = array();
	}

Expand full source code Collapse full source code

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