Allow theme-included ACF Pro as requirement
This commit is contained in:
@@ -36,8 +36,8 @@ class Plugin extends PluginBase {
|
||||
$this->add_requirement('advanced-custom-fields', [
|
||||
'name' => 'Advanced Custom Fields PRO',
|
||||
'url' => 'https://www.advancedcustomfields.com/',
|
||||
'type' => self::REQUIREMENT_PLUGIN,
|
||||
'plugin' => 'advanced-custom-fields-pro/acf.php',
|
||||
'type' => self::REQUIREMENT_CLASS,
|
||||
'class' => '\ACF',
|
||||
]);
|
||||
|
||||
$this->add_files([
|
||||
|
||||
Reference in New Issue
Block a user