Change hook to add_action in a plugin class

Change hook to add_action in a plugin class