Yoast\WP\SEO\Services\Health_Check
Report_Builder::get_signature()
Generates Yoast's signature that's displayed at the bottom of the health check result.
Метод класса: Report_Builder{}
Хуков нет.
Возвращает
Строку
. Yoast's signature as an HTML string.
Использование
// private - только в коде основоного (родительского) класса $result = $this->get_signature();
Код Report_Builder::get_signature() Report Builder::get signature Yoast 24.7
private function get_signature() { return \sprintf( /* translators: 1: Start of a paragraph beginning with the Yoast icon, 2: Expands to 'Yoast SEO', 3: Paragraph closing tag. */ \esc_html__( '%1$sThis was reported by the %2$s plugin%3$s', 'wordpress-seo' ), '<p class="yoast-site-health__signature"><img src="' . \esc_url( \plugin_dir_url( \WPSEO_FILE ) . 'packages/js/images/Yoast_SEO_Icon.svg' ) . '" alt="" height="20" width="20" class="yoast-site-health__signature-icon">', 'Yoast SEO', '</p>' ); }