quotes_dlx_block_wrapper_id

Change the block ID attribute to output on wrapper.

This filter allows you to change or modify the wrapper CSS ID for the block output. This is typically output when a user has selected to use an anchor to link directly to the block.

Location: php/Blocks.php

/**
 * Filter: quotes_dlx_block_wrapper_id
 *
 * Change the block ID attribute to output on wrapper.
 *
 * @since 1.0.0
 *
 * @param string Anchor text, or empty if none.
 */
$block_id         = $has_anchor ? $anchor : '';
$block_wrapper_id = apply_filters(
	'quotes_dlx_block_wrapper_id',
	$block_id
);

Last updated