field_before(); echo $this->shortcoder(); echo ''; echo $this->field_after(); } public function shortcoder() { if ( ! empty( $this->field['shortcoder'] ) ) { $instances = ( is_array( $this->field['shortcoder'] ) ) ? $this->field['shortcoder'] : array_filter( (array) $this->field['shortcoder'] ); foreach ( $instances as $instance_key ) { if ( isset( Sakurairo_CSF::$shortcode_instances[$instance_key] ) ) { $button_title = Sakurairo_CSF::$shortcode_instances[$instance_key]['button_title']; echo ''. $button_title .''; } } } } } }