The mobile apps use the useragent called appsconda. And this is the main variable that needs to be used while doing all kinds of programming.

  1. Get the useragent using the following variable.
    <?php
    $appsconda = $_SERVER['HTTP_USER_AGENT']; 
    ?>
  2. Then you can use it to hide/show content on mobile app.

    <?php if (stristr($appsconda, "appsconda")) : ?>
    // Content here will show only on mobile app but not on website/browser
    <?php endif; ?>



    <?php if (!stristr($appsconda, "appsconda")) : ?>
    // Content here will show only on website/browser but not on mobile app
    <?php endif; ?>