added function to menu plugins

Signed-off-by: schnnmbr <sachingopalakrishnan@gmail.com>