Skip to content

Commit

Permalink
fix acf loading file priority
Browse files Browse the repository at this point in the history
  • Loading branch information
lphoumpakka committed May 31, 2024
1 parent af482b7 commit 9b6cfc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/Services/Acf.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Acf implements Service {
public function boot( Service_Container $container ): void {
add_action( 'template_redirect', [ $this, 'warning' ], 0 );
add_action( 'init', [ $this, 'init' ], 0 );
add_action( 'init', [ $this, 'init_acf' ] );
add_action( 'init', [ $this, 'init_acf' ], 4 );
}

/**
Expand Down

0 comments on commit 9b6cfc3

Please sign in to comment.