@php $ShowShrBtn = config('advanced-config.display_share_button'); if ($ShowShrBtn === 'false') { $ShowShrBtn = 'false'; } elseif ($ShowShrBtn === 'user') { $ShowShrBtn = Auth::user()->littlelink_name ? 'true' : 'false'; } elseif (UserData::getData($userinfo->id, 'disable-sharebtn') == "true") { $ShowShrBtn = 'false'; } else { $ShowShrBtn = 'true'; } @endphp @if($ShowShrBtn == 'true') @endif