woocommerce_show_admin_bar_visit_store

woocommerce_show_admin_bar_visit_store

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_show_admin_bar_visit_store') is found 1 times:

  • /includes/admin/class-wc-admin-menus.php line 79
    		// Add endpoints custom URLs in Appearance > Menus > Pages.
    		add_action( 'admin_head-nav-menus.php', array( $this, 'add_nav_menu_meta_boxes' ) );
    
    		// Admin bar menus.
    		if ( apply_filters( 'woocommerce_show_admin_bar_visit_store', true ) ) {
    			add_action( 'admin_bar_menu', array( $this, 'admin_bar_menus' ), 31 );
    		}
    
    		// Handle saving settings earlier than load-{page} hook to avoid race conditions in conditional menus.
    		add_action( 'wp_loaded', array( $this, 'save_settings' ) );
    	}