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.9.8.1

apply_filters('woocommerce_custom_nav_menu_items') is found 2 times:

  • /includes/admin/class-wc-admin-customize.php line 79
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    // 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 422

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

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

    ?>