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:

Description

Adds the lightboxEnabled flag to the block data.This is used to determine whether the lightbox should be rendered or not.

Related Functions

block_core_image_render_lightbox, block_core_image_print_lightbox_overlay, block_core_navigation_get_post_ids, register_block_core_site_icon_setting, register_block_core_site_logo_setting

Top Google Results

User discussions

wpseek mobile