Informations
Get an ACF menu field
Code
<?php
$menu_name = ‘main-navigation’;
$locations = get_nav_menu_locations();
$menu_id = $locations[$menu_name];
$navID = wp_get_nav_menu_object($menu_id);
?>
<?php get_field(‘mainNavigation__logo–desktop’, $navID); ?>