Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Use in plugin with Freemius - Place where to remind people to please give permissions.
- // Remember to change secnin_fs() to whatever your class is named.
- if ((!secnin_fs()->is_registered()) && (!secnin_fs()->is_pending_activation()) ) {
- ?>
- <div class="sidebarsection feature">
- <h3><span class="dashicons dashicons-warning"></span> <?php _e('Never miss an important update', WF_SN_TEXT_DOMAIN); ?></h3>
- <p><?php
- _e('Opt-in to our security and feature updates notifications, and non-sensitive diagnostic tracking.', WF_SN_TEXT_DOMAIN );
- ?></p>
- <p><?php
- echo sprintf(__('<a href="%s" class="button button-secondary">Click here to opt in.</a>', WF_SN_TEXT_DOMAIN ),
- secnin_fs()->get_reconnect_url()
- );
- ?></p>
- </div>
- <?php
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement