This WP plugin adds a entity selector control to LazyBlocks. It adds the ability to select post types, taxonomies, posts and terms.
- The filter option will be execute with
eval
inside the arrayfilter
function for the selectable options. Following variables can be used:entry
: Current entry being filteredcurrentPost
: The post which is currently open in the editor