TransWikia.com

Apply custom filter on the entries in admin control panel using custom plugin in craft cms 3.5

Craft CMS Asked on March 17, 2021

I was referring to Filter entries in the CP based on custom permission and Filter entries in the CP based on custom permission

It seems onBuildElementsQuery was available only in 2.x.
Is there any alternative for craft 3.x?

One Answer

Found it!!! Used ElementQuery::EVENT_AFTER_PREPARE

Correct answer by Ram on March 17, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP