quotes_dlx_block_attributes

Override attributes (useful for overriding defaults or output).

This filter is used to filter the block attributes passed to the block output.

Location: php/Blocks.php

/**
 * Filter: quotes_dlx_block_attributes
 *
 * Override attributes (useful for overriding defaults or output).
 *
 * @since 1.0.0
 *
 * @param array  $attributes Pre-sanitized attributes.
 * @param string $content    Block content.
 *
 * @return array Block attributes and values.
 */
$attributes = apply_filters( 'quotes_dlx_block_attributes', $attributes, $content );

Last updated