My WordPress version is 5.5.3.
When commenting the first line:
add_action(‘wp_nav_menu_item_custom_fields’, array($this, ‘wp_nav_menu_item_custom_fields’), 10, 5);
the Menu Image plugin works.
While commenting just the second one does not change anything.
Hi @sebinfernandez,
Unfortunately, no. It’s because the ACF plugin wants itself to get control over (override) the navigation menu code, so hardcoding was only way I’ve found so far.
Hi,
yes, I faced this problem too.
I just commented out line 158:
acf_include(‘includes/forms/form-nav-menu.php’);
in wp-content\plugins\advanced-custom-fields\acf.php file
and Menu Image worked again.
But please check out if it doesn’t affect on your ACF fields.