Skip to content

Commit ab7346b

Browse files
committed
Fix filters
1 parent 39054e0 commit ab7346b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WordPress/Admin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ class Admin {
88
public function __construct() {
99
add_action( 'acf/init', array( $this, 'register_options_page' ) );
1010
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' ) );
11+
add_action( 'acf/init', array( $this, 'hide_acf_menu' ) );
12+
add_action( 'acf/init', array( $this, 'redirect_acf_menu' ) );
1313
}
1414

1515
public function register_options_page() {

0 commit comments

Comments
 (0)