Add a callback into plugin init struct for panel context menu update.