Is there any way to set the display name and default value of a default menu action?
Something like this:
$menu_item = new Google_MenuItem();
$menu_item->setDisplayName("Shipped");
$menu_item->setAction("REPLY");
array_push($menu_items, $menu_item);
$new_timeline_item->setMenuItems($menu_items);
insert_timeline_item($mirror_service, $new_timeline_item, null, null);
BTW, I know that I would have to add the variable "displayname" to the class called "Google_MenuItem()" but I have not yet gotten it to work. Has anyone found a workaround?
Im using the PHP API.
I know that this is a re-post but the question was asked a while back.