Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* Class Hooks_wiper
class Hooks_wiper extends Hooks
public function control_panel__publish($submission)
if ($this->fetchConfig('enable', false, null, true)) {
return $submission;

This comment has been minimized.

Copy link

iDGS commented Sep 3, 2014

per: Philip Meissner Aug 19, 2014; Author's comment copied from:

+Ant Hubbard & +Ian Pitts Forgot to mention. If you use wiper, I think you need a _config > add-ons > wiper.yaml file with:

enable: true 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.