Yoast\WP\SEO\Helpers
Current_Page_Helper::get_current_yoast_seo_page()
Returns the current Yoast SEO page. (E.g. the page query variable in the URL).
Метод класса: Current_Page_Helper{}
Хуков нет.
Возвращает
Строку
. The current Yoast SEO page.
Использование
$Current_Page_Helper = new Current_Page_Helper(); $Current_Page_Helper->get_current_yoast_seo_page();
Код Current_Page_Helper::get_current_yoast_seo_page() Current Page Helper::get current yoast seo page Yoast 19.14
public function get_current_yoast_seo_page() { static $current_yoast_seo_page; if ( $current_yoast_seo_page === null ) { $current_yoast_seo_page = \filter_input( \INPUT_GET, 'page' ); } return $current_yoast_seo_page; }