This plugin is outdated and might not be supported anymore
Menu Item Types — Action

Menu Item Types — Action

Details
View on WordPress

This Menu Item Types Add-on adds the possibility of adding action in your navigation menus.
This plugin extend Menu Item Types.

Use your custom action

/**
 * The executed hook will be prefixed with : mitypes_action_ .
 * To run my_custom_action_name, you need write :
 */

add_action( 'mitypes_action_my_custom_action_name', 'my_callable_function', 10, 2 );

function my_callable_function( $args, $item ){
    echo 'hello world' ;
}

Details

Plugin code:
menu-item-types-action
Plugin version:
1.2
Outdated:
Yes
WP version:
5.8 or higher
PHP version:
7.0 or higher
Test up to WP version:
6.1.7
Total installations:
0
Last updated:
2022-12-03
Rating:
Times rated:
0
action
custom
hook
menu
nav-item