Deactivate plugins on a Print Template
-
Hi folks,
I have a print template activated on a website, and wonder if anyone knows what I can add in the code to deactivate plugins on this template:
https://camarsol.no/print-template/?propID=6291The problem is that a sticky popup is included when using the printing template, for printing.
Can this be used:
<?php deactivate_plugins( plugin_basename( __FILE__ ) ); ?>
?In case, should I just replace “plugin_basename” with the folder name of the plugin?
What should “__FILE__” be replaced with?The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Deactivate plugins on a Print Template’ is closed to new replies.