Wall post view menu

You can use this hook to add menu items for wall post (example edit, delete post).

<?php
function my_component_init(){
		ossn_add_hook('wall', 'post:menu', 'my_component_hook');
}
function my_component_hook($hook, $type, $return, $params){
		//$params['post'] contain OssnWall post instance.
		ossn_register_menu_item("wallpost", array(
						'name' => 'nameofmenu',
						'class' => 'class goes here custom class if any',
						'text' => 'Text',
						'href' => 'URL',
						'data-guid' => $params['post']->guid
		));		
}
ossn_register_callback('ossn', 'init', 'my_component_init');