block_core_image_render_lightbox
block_core_image_render_lightbox ( $block_content, $block )
Parameters:- (string) block_content Rendered block content.
- (array) block Block object.
Returns:- (string) Filtered block content.
Defined at: - Introduced in WordPress: 6.4.0
- Deprecated in WordPress: —
Description
Adds the directives and layout needed for the lightbox behavior.