mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-20 15:13:55 +09:00
- settings optimization;
This commit is contained in:
@@ -5,7 +5,7 @@ if ( ! class_exists( 'UM_Menu_Item_Custom_Fields' ) ) :
|
||||
class UM_Menu_Item_Custom_Fields {
|
||||
|
||||
public static function load() {
|
||||
if ( um_get_option('disable_menu') == 0 ) {
|
||||
if ( UM()->options()->get( 'disable_menu' ) == 0 ) {
|
||||
add_filter( 'wp_edit_nav_menu_walker', array( __CLASS__, '_filter_walker' ), 99 );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user