We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e448b4 commit 2812507Copy full SHA for 2812507
lib/acfwpcli.php
@@ -11,7 +11,7 @@ public function __construct() {
11
12
public function actions() {
13
if ( ! defined( 'WP_CLI' ) ) {
14
- add_action( 'plugins_loaded', array( $this, 'add_runtime_fieldgroups' ) );
+ add_action( 'acf/init', array( $this, 'add_runtime_fieldgroups' ) );
15
}
16
17
0 commit comments