Can I remove content added by shortcodes?

To remove the shortcode, please use 'bwsplgns_pdf_print_remove_shortcodes' hook:

  1. Go to the plugin settings page;
  2. Open "Custom Code" tab, mark "Activate custom PHP code." checkbox in the "PHP" section;
  3. Add the following code (as example):

function pdf_print_remove_shortcodes( $shortcodes_array ) { $shortcodes_array[] = 'bestwebsoft_contact_form'; return $shortcodes_array; } add_filter( 'bwsplgns_pdf_print_remove_shortcodes', 'pdf_print_remove_shortcodes' );

Replace bestwebsoft_contact_form with your shortcode.

Have more questions? Submit a request