• 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_Meta_Box / Tribe_Meta_Box::has_field()
Product: Advanced Post Manager

Tribe_Meta_Box::has_field( $type )


Source

File: lib/tribe-meta-box.php

	public function has_field( $type ) {
		foreach ( $this->_fields as $field ) {
			if ( $type == $field['type'] ) {
				return true;
			}
		}
		return false;
	}

Expand full source code Collapse full source code

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