Filter instead of action

This commit is contained in:
Caleb Burks 2016-08-24 18:26:14 -05:00
parent dc876749cc
commit a3524c95f3
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class WC_Admin_Menus {
add_filter( 'custom_menu_order', array( $this, 'custom_menu_order' ) );
// Rename taxonomies at Appearance > Menus > Pages
add_action( 'nav_menu_meta_box_object', array( $this, 'rename_nav_menu_meta_boxes' ) );
add_filter( 'nav_menu_meta_box_object', array( $this, 'rename_nav_menu_meta_boxes' ) );
// Add endpoints custom URLs in Appearance > Menus > Pages
add_action( 'admin_init', array( $this, 'add_nav_menu_meta_boxes' ) );