Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Adobe Exam AD0-E704 Topic 3 Question 15 Discussion

Actual exam question for Adobe's AD0-E704 exam
Question #: 15
Topic #: 3
[All AD0-E704 Questions]

You are working on a project with custom code located in an observer MyCompany\MyModule\Observer\Custom on the catalog_product_load_before event. How do you prevent your custom observer from being executed on a staging preview?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Gerald
11 hours ago
Hmm, that makes sense too. I'll have to double check the documentation to be sure
upvoted 0 times
...
Alline
2 days ago
I disagree, I believe the correct answer is C) By specifying an attribute exclude_from_staging_preview=''1'' in the declaration of the observer in the events.xml file
upvoted 0 times
...
Gerald
7 days ago
I think the answer is A) By adding your observer to the bannedobserver parameter of Magento\\staging\\Model\\Event\\Manager using di.xml
upvoted 0 times
...

Save Cancel