There was an error while loading. Please reload this page.
1 parent 39054e0 commit ab7346bCopy full SHA for ab7346b
WordPress/Admin.php
@@ -8,8 +8,8 @@ class Admin {
8
public function __construct() {
9
add_action( 'acf/init', array( $this, 'register_options_page' ) );
10
add_action( 'acf/init', array( $this, 'register_options' ) );
11
- add_action( 'init', array( $this, 'hide_acf_menu' ) );
12
- add_action( 'init', array( $this, 'redirect_acf_menu' ) );
+ add_action( 'acf/init', array( $this, 'hide_acf_menu' ) );
+ add_action( 'acf/init', array( $this, 'redirect_acf_menu' ) );
13
}
14
15
public function register_options_page() {
0 commit comments