PHP Filters


Filter output block attributes.

  • lazyblock/BLOCK_NAME/frontend_attributes
  • lazyblock/BLOCK_NAME/editor_attributes
  • lazyblock/BLOCK_NAME/attributes

Render Callback

Add custom function to render block output. See examples here

  • lazyblock/BLOCK_NAME/frontend_callback
  • lazyblock/BLOCK_NAME/editor_callback
  • lazyblock/BLOCK_NAME/callback

Allow Output Wrapper

Disable output wrapper for the block. By default added wrapper on frontend only. See examples here

  • lazyblock/BLOCK_NAME/frontend_allow_wrapper
  • lazyblock/BLOCK_NAME/editor_allow_wrapper
  • lazyblock/BLOCK_NAME/allow_wrapper
Was this page helpful?