added hook publish_after_chart_actions
refactored 'show in gallery' into gallery plugin