Global Actions
Global Actions can be used to prevent PDF download / PDF generation / E2Pdf shortcode to fire.
Actions #
Multiple actions will run one by one depending on the order.
- Allow PDF Access by URL - allows access to PDF URL generated via [e2pdf-download] and [e2pdf-view] shortcodes. An error message will be printed in case don't meet the conditions.
- Restrict PDF Access by URL - restricts access to PDF URL generated via [e2pdf-download] and [e2pdf-view] shortcodes. An error message will be printed in case meet the conditions.
- Restrict Process Shortcodes - restricts to process any global E2Pdf shortcodes: [e2pdf-download], [e2pdf-view], [e2pdf-attachment], [e2pdf-save], [e2pdf-zapier] in case meet the conditions.
Action Parameters #
- Order - The order of action to fire. Can be set to negative value. After save, actions will be reordered regarding the order of actions.
-
Apply If - The condition to apply:
- Any - if any of the conditions will be met.
- All - if all conditions will be met.
Condition Parameters #
Each action can have unlimited conditions.
- An example is for Formidable Forms. It must be used own syntax inside conditions depending on the extension: Caldera Forms, Contact Form 7, Divi Contact Forms, Elementor Forms, Formidable Forms, Forminator Forms, Gravity Forms, WooCommerce.
- if - Value to compare. Can be used shortcodes or field slugs depending on plugin.
-
condition - The condition to apply:
- = - if If equals Value.
- != - if If doesn't equal Value.
- > - if If is bigger Value.
- >= - if If is bigger or equals Value.
- < - if If is less Value.
- <= - if If is less or equals Value.
- Contains - if If in Value.
- Not Contains - if If is not in Value.
- Value - Value to compare with. Can be used shortcodes or field slugs depending on plugin.