Yoast\WP\SEO\Context
Meta_Tags_Context::generate_company_name()
Generates the company name.
Метод класса: Meta_Tags_Context{}
Хуки из метода
Возвращает
Строку
. The company name.
Использование
$Meta_Tags_Context = new Meta_Tags_Context(); $Meta_Tags_Context->generate_company_name();
Код Meta_Tags_Context::generate_company_name() Meta Tags Context::generate company name Yoast 22.4
public function generate_company_name() { /** * Filter: 'wpseo_schema_company_name' - Allows filtering company name * * @param string $company_name. */ $company_name = \apply_filters( 'wpseo_schema_company_name', $this->options->get( 'company_name' ) ); if ( empty( $company_name ) ) { $company_name = $this->site_name; } return $company_name; }