BP_Core_oEmbed_Extension::__construct()

Constructor.

Description

Source

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

37
38
39
40
41
42
43
44
45
46
47
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.