function soundy_button() { $pp_code = soundy_get_button(); echo $pp_code; }
public function process_shortcode($atts) { if ($atts[0] && $atts[0] == 'title') { return soundy_get_title(); } elseif ($atts[0] && $atts[0] == 'button') { return soundy_get_button('pp_short_code'); } }