how to create mmjmenu using php api?


I want to add product using MMJMenu api from my php application.

we can easily get MMJMenu products using it's api to our application but how to create product using api

Here using this code i can get product...

require 'API/Mmjmenu.php';
$client = new Mmjmenu('JHDGFDS46JSsdf654FSJHDSH');

$menuItems      = $client->menuItems();
$menuItems      = json_decode($menuItems, true);

foreach($menuItems['menu_items'] as $item)
    echo $item['name'];



The MMJMenu API is read-only, so there is currently no option to create new menu items through the API.

People are also looking for solutions to the problem: How to pass extra variable in wordpress admin post.php


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.