show_tray_icon
show_tray_icon($show); - controls the visibility of the app icon in the tray.
the input Function accepts parameters:br>
$show – the visibility flag, if true - show icon in the system tray, and when false - to hide the tray icon
After testing, the function returns the result of its work to the script :
true – successfully worked
false – operation failed