block_core_image_get_lightbox_settings
block_core_image_get_lightbox_settings ( $block )
Parameters:- (array) block Block data.
Returns:- (array) Filtered block data.
Defined at: - Introduced in WordPress: 6.4.0
- Deprecated in WordPress: —
Description
Adds the lightboxEnabled flag to the block data.This is used to determine whether the lightbox should be rendered or not.