The easiest way to accomplish this might be to use a plugin that includes a shortcode (say, Jetpack), and then include that shortcode in the output within case 'publish'
.
The easiest way to accomplish this might be to use a plugin that includes a shortcode (say, Jetpack), and then include that shortcode in the output within case 'publish'
.