This Menu Item Types Add-on adds the possibility of adding action in your navigation menus.
Author: | @maxpertici (profile at wordpress.org) |
WordPress version required: | 5.8 |
WordPress version tested: | 6.1.1 |
Plugin version: | 1.2 |
Added to WordPress repository: | 20-12-2021 |
Last updated: | 03-12-2022 |
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | https://maxpertici.fr#menu-item-types |
Total downloads: | 829 |
Click to start download |
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' ;
}
FAQ
ChangeLog