added do_action for plugin
added hook for plugin