Dependencies::registerHooks()

Add hook to each dependencies’ init hook

Description

Source

File: bp-integrations/learndash/core/Dependencies.php

	public function registerHooks()
	{
		foreach ($this->dependencies as $hook => $__) {
			add_action($hook, [$this, 'dependencyLoaded']);
		}

		add_action('init', [$this, 'appendDependencyChecker']);
	}

Changelog

Changelog
Version Description
BuddyBoss 1.0.0 Introduced.

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.