Skip to content

Instantly share code, notes, and snippets.

Avatar

Anydog

View GitHub Profile
View nav-menu-item-custom-fields.php
<?php
/**
* Proof of concept for how to add new fields to nav_menu_item posts in the WordPress menu editor.
* @author Weston Ruter (@westonruter), X-Team
*
* forked: Anydog, Aligator Studio
*/
add_action( 'init', array( 'XTeam_Nav_Menu_Item_Custom_Fields', 'setup' ) );
You can’t perform that action at this time.