Use an around plugin to silence a function in Magento
Learn how to use a Magento 2 around plugin to disable an observer execute function without affecting the module.
Lesson Content
Let’s take things a step further and assume that we want to prevent this execute() function in the LogPostDetailView observer from running at all, but we still want the rest of the module to funct...
Join the discussion!
Comments
Want to comment on this lesson?
Enroll in this course to leave comments.