{"id":151404,"date":"2021-12-20T23:01:54","date_gmt":"2021-12-20T23:01:54","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/menu-item-types-action\/"},"modified":"2022-12-03T22:42:02","modified_gmt":"2022-12-03T22:42:02","slug":"menu-item-types-action","status":"publish","type":"plugin","link":"https:\/\/azb.wordpress.org\/plugins\/menu-item-types-action\/","author":16775466,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2","stable_tag":"1.2","tested":"6.1.10","requires":"5.8","requires_php":"7.0","requires_plugins":"","header_name":"Menu Item Types \u2014 Action","header_author":"@maxpertici","header_description":"Add the ability to define your custom action in your nav menu","assets_banners_color":"ffffff","last_updated":"2022-12-03 22:42:02","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/maxpertici.fr#menu-item-types","header_author_uri":"https:\/\/maxpertici.fr","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1324,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"maxpertici","date":"2021-12-20 23:02:59"},"1.1":{"tag":"1.1","author":"maxpertici","date":"2021-12-21 21:47:21"},"1.2":{"tag":"1.2","author":"maxpertici","date":"2022-12-03 22:42:02"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":2647045,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":2647045,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":2647045,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2647045,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2453,527,2452,1865,203965],"plugin_category":[],"plugin_contributors":[181376],"plugin_business_model":[],"class_list":["post-151404","plugin","type-plugin","status-publish","hentry","plugin_tags-action","plugin_tags-custom","plugin_tags-hook","plugin_tags-menu","plugin_tags-nav-item","plugin_contributors-maxpertici","plugin_committers-maxpertici"],"banners":{"banner":"https:\/\/ps.w.org\/menu-item-types-action\/assets\/banner-772x250.jpg?rev=2647045","banner_2x":"https:\/\/ps.w.org\/menu-item-types-action\/assets\/banner-1544x500.jpg?rev=2647045","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/menu-item-types-action\/assets\/icon-128x128.jpg?rev=2647045","icon_2x":"https:\/\/ps.w.org\/menu-item-types-action\/assets\/icon-256x256.jpg?rev=2647045","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This Menu Item Types Add-on adds the possibility of adding action in your navigation menus.\nThis plugin extend <a href=\"https:\/\/wordpress.org\/plugins\/menu-item-types\/\">Menu Item Types<\/a>.<\/p>\n\n<h3>Use your custom action<\/h3>\n\n<pre><code>\/**\n * The executed hook will be prefixed with : mitypes_action_ .\n * To run my_custom_action_name, you need write :\n *\/\n\nadd_action( 'mitypes_action_my_custom_action_name', 'my_callable_function', 10, 2 );\n\nfunction my_callable_function( $args, $item ){\n    echo 'hello world' ;\n}\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>If you don't have the Menu Item Types plugin, please install and activate it first. <\/li>\n<li>Install the plugin and activate.<\/li>\n<li>Go to Apparence &gt; Menu<\/li>\n<li>If the metaboxes Menu Item Types is not visible, use screen options<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='is%20this%20extension%20stand-alone%3F'><h3>Is this extension stand-alone?<\/h3><\/dt>\n<dd><p>No, there are two dependencies:<\/p>\n\n<ul>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/advanced-custom-fields\/\">ACF<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/menu-item-types\/\">Menu Item Types<\/a><\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2<\/h4>\n\n<ul>\n<li>Version bump<\/li>\n<li>WP 6.1 ready<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>added some checks on the slug of the action that will be executed in the renders<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Init<\/li>\n<\/ul>","raw_excerpt":"This Menu Item Types Add-on adds the possibility of adding action in your navigation menus.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/151404","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=151404"}],"author":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/maxpertici"}],"wp:attachment":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=151404"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=151404"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=151404"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=151404"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=151404"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=151404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}