| @@ -1,0 +1,29 @@ | ||
| 1 | +<?php | |
| 2 | + | |
| 3 | +/** | |
| 4 | + * Freemius Extension | |
| 5 | + * | |
| 6 | + * @package NotificationX\Extensions | |
| 7 | + */ | |
| 8 | + | |
| 9 | +namespace NotificationX\Extensions\Freemius; | |
| 10 | + | |
| 11 | +/** | |
| 12 | + * Common functionality for Freemius. | |
| 13 | + */ | |
| 14 | +trait Freemius | |
| 15 | +{ | |
| 16 | + | |
| 17 | + | |
| 18 | + public function doc(){ | |
| 19 | + /* translators: %1$s: created & signed in to Freemius account link URL, %2$s: documentation link URL, %3$s: Watch video tutorial link URL, %4$s: Integration with Freemius link URL */ | |
| 20 | + return sprintf(__('<p>Make sure that you have <a target="_blank" href="%1$s">created & signed in to Freemius account</a> to use its campaign & product sales data. For further assistance, check out our step by step <a target="_blank" href="%2$s">documentation</a>.</p> | |
| 21 | + <p>🎦 <a target="_blank" href="%3$s">Watch video tutorial</a> to learn quickly</p> | |
| 22 | + <p>👉 NotificationX <a target="_blank" href="%4$s">Integration with Freemius</a></p>', 'notificationx'), | |
| 23 | + 'https://dashboard.freemius.com/login/', | |
| 24 | + 'https://notificationx.com/docs/freemius-sales-notification/', | |
| 25 | + 'https://youtu.be/0uANsOSFmtw', | |
| 26 | + 'https://notificationx.com/integrations/freemius/' | |
| 27 | + ); | |
| 28 | + } | |
| 29 | +} | |