芝麻web文件管理V1.00
编辑当前文件:/home/paymbalq/www/wp-content/plugins/woocommerce/src/Blocks/Templates/AbstractPageTemplate.php
is_active_template() ) { array_unshift( $templates, static::SLUG ); } return $templates; } /** * Forces the page title to match the template title when this template is active. * * Only applies when hooked into `pre_get_document_title`. Most templates used for pages will not require this because * the page title should be used instead. * * @param string $title Page title. * @return string */ public function page_template_title( $title ) { if ( $this->is_active_template() && $this->get_template_title() ) { return $this->get_template_title(); } return $title; } }