WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WC_Shop_Customizer::add_fse_customize_link() public WC 1.0

For FSE themes add a "Customize WooCommerce" link to the Appearance menu.

FSE themes hide the "Customize" link in the Appearance menu. In WooCommerce we have several options that can currently only be edited via the Customizer. For now, we are thus adding a new link for WooCommerce specific Customizer options.

{} Это метод класса: WC_Shop_Customizer{}

Хуков нет.


null. Ничего.


$WC_Shop_Customizer = new WC_Shop_Customizer();

Код WC_Shop_Customizer::add_fse_customize_link() WC 5.7.1

public function add_fse_customize_link() {

	// Exit early if the FSE theme feature isn't present or the current theme is not a FSE theme.
	if ( ! function_exists( 'gutenberg_is_fse_theme' ) || function_exists( 'gutenberg_is_fse_theme' ) && ! gutenberg_is_fse_theme() ) {

	// Add a link to the WooCommerce panel in the Customizer.
		__( 'Customize WooCommerce', 'woocommerce' ),
		__( 'Customize WooCommerce', 'woocommerce' ),
		admin_url( 'customize.php?autofocus[panel]=woocommerce' )