Extend Post-widget?
Answered on February 18, 2016.
Hi there,
You can only filter specific elements where a filter exists (please see our guide on using hooks and filters if you are unsure what this means) in the post widget file. If your modification adds new functionality like a new static column containing a specific post, then you need to create a custom widget that implements those elements (you can use the post widget as a starting point). This is covered here:
https://docs.layerswp.com/plugin-creation-guide/#adding-layers-builder-widgets
Thx, but wouldn’t it make sense to let me extend the Layers_Content_Widget n the same way I can extend the Layer_Widget class?
(Btw: for me the docs.layerswp.com site is dog-slow from here (Europe)… it took me 20 secs to open this page and reply..)