WC_Template_Loader::unsupported_theme_shop_page_init()private staticWC 3.3.0

Hook in methods to enhance the unsupported theme experience on the Shop page.

Метод класса: WC_Template_Loader{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$result = WC_Template_Loader::unsupported_theme_shop_page_init();

Список изменений

С версии 3.3.0 Введена.

Код WC_Template_Loader::unsupported_theme_shop_page_init() WC 8.7.0

private static function unsupported_theme_shop_page_init() {
	add_filter( 'the_content', array( __CLASS__, 'unsupported_theme_shop_content_filter' ), 10 );
	add_filter( 'the_title', array( __CLASS__, 'unsupported_theme_title_filter' ), 10, 2 );
	add_filter( 'comments_number', array( __CLASS__, 'unsupported_theme_comments_number_filter' ) );
}