element_before();
echo $this->shortcode_generator();
echo '';
echo $this->element_after();
// phpcs:enable WordPress.Security.EscapeOutput.OutputNotEscaped
}
/**
* Print the "Add Shortcode" button when the shortcode manager is active.
*
* @return void
*/
public function shortcode_generator() {
if ( isset( $this->field['shortcode'] ) && CS_ACTIVE_SHORTCODE ) {
echo '' . esc_html__( 'Add Shortcode', 'cs-framework' ) . '';
}
}
}