Skip to content

Commit

Permalink
ACF::init works better if it actually runs.
Browse files Browse the repository at this point in the history
  • Loading branch information
joemaller committed Feb 20, 2025
1 parent cc3ac8b commit c4b2a9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ThemeInit/Plugins/ACF.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class ACF
public function __construct()
{
$this->acf_active = function_exists('get_fields');
$this->init();
}

public function init()
Expand Down

0 comments on commit c4b2a9c

Please sign in to comment.