woocommerce_custom_nav_menu_items

woocommerce_custom_nav_menu_items

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_custom_nav_menu_items') is found 2 times:

  • /includes/admin/class-wc-admin-customize.php line 79
     
    			// Include missing lost password.
    			$endpoints['lost-password'] = __( 'Lost password', 'woocommerce' );
    
    			$endpoints = apply_filters( 'woocommerce_custom_nav_menu_items', $endpoints );
    
    			foreach ( $endpoints as $endpoint => $title ) {
    				$items[] = array(
    					'id'         => $endpoint,
    					'title'      => $title,
    					'type_label' => __( 'Custom Link', 'woocommerce' ),
    
  • /includes/admin/class-wc-admin-menus.php line 411

    // Include missing lost password.
    $endpoints[‘lost-password’] = __( ‘Lost password’, ‘woocommerce’ );

    $endpoints = apply_filters( ‘woocommerce_custom_nav_menu_items’, $endpoints );

    ?>