BP_Core_oEmbed_Extension::__construct()

Constructor.

Description

Source

File: bp-core/classes/class-bp-core-oembed-extension.php

	final public function __construct() {
		$this->setup_properties();

		// Some rudimentary logic checking.
		if ( empty( $this->slug_endpoint ) ) {
			return;
		}

		$this->setup_hooks();
		$this->custom_hooks();
	}

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.