quotes_dlx_block_wrapper_id
Change the block ID attribute to output on wrapper.
Last updated
Was this helpful?
Change the block ID attribute to output on wrapper.
Last updated
Was this helpful?
Was this helpful?
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.
/**
* 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
);