2020-05-05, 01:55 AM
I wanna display a icon in postbit with plugin , I have already used this declared :
and this is the hook:
and this is function :
but when i tried it , it's not working or diplayed any thing .
global $db, $mybb, $post;
and this is the hook:
$plugins->add_hook("postbit", "IconInPostbit");
and this is function :
function IconInPostbit(&$post)
{
global $db, $mybb, $post;
$post['profilelink'] = $post['profilelink']."Icon";
return $post;
}
but when i tried it , it's not working or diplayed any thing .