Menu Item Types — Action Icon

Menu Item Types — Action

By Maxime Pertici

Active Installs

0+

Last Updated

December 3, 2022

First Released

December 20, 2021

Download History (Last one month)


Contributors

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' ;
}
  1. If you don’t have the Menu Item Types plugin, please install and activate it first.
  2. Install the plugin and activate.
  3. Go to Apparence > Menu
  4. If the metaboxes Menu Item Types is not visible, use screen options
Is this extension stand-alone?

No, there are two dependencies:

Changelog

1.2

  • Version bump
  • WP 6.1 ready

1.1

  • added some checks on the slug of the action that will be executed in the renders

1.0

  • Init

Available Versions

Version Download Type
1.2 Download Stable
1.1 Download Stable
1.0 Download Stable
Development Download Trunk

Plugin Info

  • Version: 1.2
  • Last Updated: December 3, 2022
  • Active Installs: 0+
  • WordPress Version: 5.8 or higher
  • Tested up to: 6.1.15
  • PHP Version: 7.0 or higher
  • Tags:    
    action custom hook menu nav-item

Ratings


0.0 out of 5 stars. (0 reviews)

See all reviews
Scroll to Top