Thanks for picking this up Dennis!
I’ve updated your snippet to the following:
if (substr($action, 0, 6) !== 'dhlpwc') {
return $redirect_to;
}
Just returning caused a white screen when executing my custom bulk actions.
-
This reply was modified 8 months, 2 weeks ago by Sem.