Select the code you write in your post, and click on the fifth icon from the left, in the toolbar shown on top of where you write a post.

    <?php
      if (is_admin($user)) {
        show_admin_flags();
      }
    ?>

> ![screenshot][1]


  [1]: https://i.sstatic.net/bvzAi.png