Version 1.0.49

This commit is contained in:
ultimatemember
2015-02-11 00:50:38 +02:00
parent b4f313e8bc
commit 23c30f6a39
17 changed files with 112 additions and 31 deletions
+3 -1
View File
@@ -5,7 +5,9 @@ if ( ! class_exists( 'UM_Menu_Item_Custom_Fields' ) ) :
class UM_Menu_Item_Custom_Fields {
public static function load() {
add_filter( 'wp_edit_nav_menu_walker', array( __CLASS__, '_filter_walker' ), 200 );
if ( um_get_option('disable_menu') == 0 ) {
add_filter( 'wp_edit_nav_menu_walker', array( __CLASS__, '_filter_walker' ), 200 );
}
}
public static function _filter_walker( $walker ) {