function editor_getPacks() { $packs = parent::editor_getPacks(); // Collect packs from dynamic amount of dirs $path = MB()->get_plugin_path() . "assets/packs/"; $packs = array_merge($packs, $this->getSocialPacks($path)); return $packs; }