Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. <?php
  2. // Use in plugin with Freemius - Place where to remind people to please give permissions.
  3. // Remember to change secnin_fs() to whatever your class is named.
  4.  
  5. if ((!secnin_fs()->is_registered()) && (!secnin_fs()->is_pending_activation()) ) {
  6. ?>
  7. <div class="sidebarsection feature">
  8. <h3><span class="dashicons dashicons-warning"></span> <?php _e('Never miss an important update', WF_SN_TEXT_DOMAIN); ?></h3>
  9. <p><?php
  10. _e('Opt-in to our security and feature updates notifications, and non-sensitive diagnostic tracking.', WF_SN_TEXT_DOMAIN );
  11. ?></p>
  12. <p><?php
  13. echo sprintf(__('<a href="%s" class="button button-secondary">Click here to opt in.</a>', WF_SN_TEXT_DOMAIN ),
  14. secnin_fs()->get_reconnect_url()
  15. );
  16. ?></p>
  17. </div>
  18.  
  19. <?php
  20. }
  21. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement