New answers tagged

1

I believe you're looking for this instead. Event::on( Entry::class, Element::EVENT_AFTER_SAVE, static function (ModelEvent $event) { $entry = $event->sender; if ($entry->status === 'disabled' && $entry->propagating && $entry->resaving && ElementHelper::...


Top 50 recent answers are included