Dependencies::appendDependencyChecker()
Check if the required dependencies are all init
Description
Source
File: bp-integrations/learndash/core/Dependencies.php
public function appendDependencyChecker() { global $wp_filter; $callbackKeys = array_keys($wp_filter['init']->callbacks); $lastCallbackPriority = $callbackKeys[count($callbackKeys) - 1]; add_action('init', [$this, 'dependencyChecker'], $lastCallbackPriority); }
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.