| @@ -1,8 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | namespace Yoast\WP\SEO\Helpers; |
| 4 | 4 | |
| 5 | +use WPSEO_Shortlinker; | |
| 5 | 6 | use Yoast\WP\SEO\Conditionals\Non_Multisite_Conditional; |
| 6 | 7 | use Yoast\WP\SEO\Config\Wincher_Client; |
| 7 | 8 | use Yoast\WP\SEO\Exceptions\OAuth\Authentication_Failed_Exception; |
| 8 | 9 | use Yoast\WP\SEO\Exceptions\OAuth\Tokens\Empty_Property_Exception; |
| @@ -81,10 +82,12 @@ | ||
| 81 | 82 | * @return string[] |
| 82 | 83 | */ |
| 83 | 84 | public function get_admin_global_links() { |
| 84 | 85 | return [ |
| 85 | - 'links.wincher.website' => 'https://www.wincher.com?utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast', | |
| 86 | - 'links.wincher.pricing' => 'https://www.wincher.com/pricing?utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast', | |
| 87 | 86 | 'links.wincher.login' => 'https://app.wincher.com/login?utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast', |
| 87 | + 'links.wincher.about' => WPSEO_Shortlinker::get( 'https://yoa.st/dashboard-about-wincher' ), | |
| 88 | + 'links.wincher.pricing' => WPSEO_Shortlinker::get( 'https://yoa.st/wincher-popup-pricing' ), | |
| 89 | + 'links.wincher.website' => WPSEO_Shortlinker::get( 'https://yoa.st/wincher-popup' ), | |
| 90 | + 'links.wincher.upgrade' => WPSEO_Shortlinker::get( 'https://yoa.st/wincher-upgrade' ), | |
| 88 | 91 | ]; |
| 89 | 92 | } |
| 90 | 93 | } |