Skip to content

Commit 9b6cfc3

Browse files
committed
fix acf loading file priority
1 parent af482b7 commit 9b6cfc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/Services/Acf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class Acf implements Service {
2828
public function boot( Service_Container $container ): void {
2929
add_action( 'template_redirect', [ $this, 'warning' ], 0 );
3030
add_action( 'init', [ $this, 'init' ], 0 );
31-
add_action( 'init', [ $this, 'init_acf' ] );
31+
add_action( 'init', [ $this, 'init_acf' ], 4 );
3232
}
3333

3434
/**

0 commit comments

Comments
 (0)