Skip to content

Commit f5685c1

Browse files
authored
Merge pull request #413 from BeAPI/fix-acf-loading
fix acf loading file priority
2 parents 984fa6d + 9b6cfc3 commit f5685c1

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)