Allow theme-included ACF Pro as requirement

This commit is contained in:
Cooper Dalrymple
2025-08-01 10:53:24 -05:00
parent 9a758ba545
commit 52a49a53e8
2 changed files with 5 additions and 5 deletions

View File

@@ -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([