/** * Attempt to load the given plugin which is required for the current plugin * * @param string Plugin name * @return boolean True on success, false on failure */ public function require_plugin($plugin_name) { return $this->api->load_plugin($plugin_name); }
/** * Attempt to load the given plugin which is optional for the current plugin * * @param string Plugin name * @return boolean True on success, false on failure */ public function include_plugin($plugin_name) { return $this->api->load_plugin($plugin_name, true, false); }