• 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 / Constants_Provider / Constants_Provider::get()
Product: Tribe Common

Constants_Provider::get( $key )


Source

File: src/Common/Configuration/Constants_Provider.php

	public function get( $key ) {
		if ( $this->has( $key ) ) {
			return constant( $key );
		}
		return null;
	}

Expand full source code Collapse full source code

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