ཞིབ་བརྗོད།
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' ;
}
སྒྲིག་འཇུག
- If you don’t have the Menu Item Types plugin, please install and activate it first.
- Install the plugin and activate.
- Go to Apparence > Menu
- If the metaboxes Menu Item Types is not visible, use screen options
FAQ
-
Is this extension stand-alone?
-
No, there are two dependencies:
གདེང་འཇོག
There are no reviews for this plugin.
བྱས་རྗེས་འཇོག་མཁན། & གསར་འབྱེད་པ།
“Menu Item Types — Action” is open source software. The following people have contributed to this plugin.
བྱས་རྗེས་འཇོག་མཁན།ཁྱེད་ཀྱི་སྐད་ཡིག་ནང་ལ་ “Menu Item Types — Action” ཡིག་སྒྱུར་བྱོས།
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
དག་བཅོས་ཉིན་ཐོ།
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