Yoast\WP\SEO\Helpers

Wincher_Helper::get_admin_global_links()publicYoast 1.0

Returns the Wincher links that can be used to localize the global admin script. Mainly exists to avoid duplicating these links in multiple places around the code base.

Метод класса: Wincher_Helper{}

Хуков нет.

Возвращает

Строку[].

Использование

$Wincher_Helper = new Wincher_Helper();
$Wincher_Helper->get_admin_global_links();

Код Wincher_Helper::get_admin_global_links() Yoast 20.0

public function get_admin_global_links() {
	return [
		'links.wincher.website' => \WPSEO_Shortlinker::get( 'https://yoa.st/wincher-popup' ),
		'links.wincher.pricing' => \WPSEO_Shortlinker::get( 'https://yoa.st/wincher-popup-pricing' ),
		'links.wincher.login'   => 'https://app.wincher.com/login?utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast',
	];
}