Video Lesson: Use an around plugin to silence a function in Magento

Use an around plugin to silence a function in Magento

Enroll to watch this lesson

Black Friday The whole University for $299/yr.

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...

Premium content

Enroll to unlock the full content and all course materials.

Black Friday

The whole University for $299/yr.

Get the deal →
Maggie

Hey, I'm Maggie! 👋

Ask me anything.

Black Friday

The whole University for $299/yr.

Every course, Maggie & Campus. The lowest price ever.

Get the deal →
Comments

Join the discussion!

Notes

Keep track of what you learn!