What type of field is “club_membership_profile”?
Your code looks correct, for the most part, except if (isset($cluburl)) {
. This will always be true and should be if ($cluburl) {
. Other than this it depends on the field type. What your doing would work for a URL field.
This may also be incorrect if( $args->theme_location == 'Primary Menu' ){
. I think you need to test against the menu name, like “menu-1” rather than the menu label.