Use this shortcode to remove pieces of content in the generated PDF.
New shortcode tag
attribute Since: 1.9
[dkpdf-remove tag="gallery"]
[gallery ids="827,811,770"]
[/dkpdf-remove]

In this example, clicking PDF Button, gallery shortcode isn’t shown in the generated PDF.


Using Adding dkpdf-remove shortcode

The piece of content inside the shortcode remains visible in the page
![The piece of content inside the shortcode is hidden in the pdf Using [dkpdf-pagebreak] results](https://dinamiko.dev/wp-content/uploads/2024/11/remove-shortcode-03-1024x324.jpg)