Title: Custom fields menu items
Last modified: November 3, 2023

---

# Custom fields menu items

 *  [davida77](https://wordpress.org/support/users/davida77/)
 * (@davida77)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/custom-fields-menu-items/)
 * I am trying to add custom fields to the menu items. I have found examples on 
   using the following hook:
 *     ```wp-block-code
       wp_nav_menu_item_custom_fields
       ```
   
 * For example on this site: [https://pressidium.com/blog/adding-custom-fields-to-wordpress-menu-items/](https://pressidium.com/blog/adding-custom-fields-to-wordpress-menu-items/)
   
   As well as on the official WordPress release blog it is stated that it is as 
   simple as doing something like this in the functions.php file to make something
   appear:
 *     ```wp-block-code
       function my_menu_item_field() {
               echo 'A menu item test field';
           }
           add_action( 'wp_nav_menu_item_custom_fields', 'my_menu_item_field' );
       ```
   
 * I have tried all sorts of examples but nothing appears at all. I am using WordPress
   6.3.2 where the menu section is in the customizer menu.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/custom-fields-menu-items/#post-17174648)
 * You can only see the additions via this hook under Appeareance > Menu – not in
   the Customiser. See: [https://wordpress.org/documentation/article/appearance-menus-screen/](https://wordpress.org/documentation/article/appearance-menus-screen/)
 *  Thread Starter [davida77](https://wordpress.org/support/users/davida77/)
 * (@davida77)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/custom-fields-menu-items/#post-17174848)
 * Thanks for the answer. What would be the way to do it now?
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/custom-fields-menu-items/#post-17175324)
 * You have already taken the right path in PHP. You just looked in the wrong place
   in the backend.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Custom fields menu items’ is closed to new replies.

## Tags

 * [menu items](https://wordpress.org/support/topic-tag/menu-items/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 3 replies
 * 2 participants
 * Last reply from: [threadi](https://wordpress.org/support/users/threadi/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/custom-fields-menu-items/#post-17175324)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
