Yoast\WP\SEO\Helpers
Wincher_Helper::get_admin_global_links()
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() Wincher Helper::get admin global links Yoast 22.4
public function get_admin_global_links() { return [ 'links.wincher.login' => 'https://app.wincher.com/login?utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast', 'links.wincher.about' => WPSEO_Shortlinker::get( 'https://yoa.st/dashboard-about-wincher' ), 'links.wincher.pricing' => WPSEO_Shortlinker::get( 'https://yoa.st/wincher-popup-pricing' ), 'links.wincher.website' => WPSEO_Shortlinker::get( 'https://yoa.st/wincher-popup' ), 'links.wincher.upgrade' => WPSEO_Shortlinker::get( 'https://yoa.st/wincher-upgrade' ), ]; }