hyunsupul / aesop-core

Open-sourced suite of components that empower interactive storytelling in WordPress.
http://aesopstoryengine.com
GNU General Public License v2.0
245 stars 56 forks source link

add custom view filter to component: quote #342

Closed AlchemyUnited closed 5 years ago

AlchemyUnited commented 5 years ago

Hello Hyun - If you accept this one, I'll do the same to the other components. The general idea is to pass / all relevant args (in an array) to the filter. If you use the filter to create your own custom view all you have to do is return something other than false and ase-core will not render the default view.

p.s. It works. I'm already using it ;)