quotes_dlx_block_max_width

Set the max-width argument that is set using inline CSS.

The user can set a maximum width using the block options. You can override this with this filter.

Location: php/Blocks.php

/**
 * Filter: quotes_dlx_block_max_width
 *
 * Change the block max-width style attribute.
 *
 * @since 1.0.0
 *
 * @param string Max-width and unit (e.g., 70vw, 100%, 800px)
 */
$max_width_attr = apply_filters(
	'quotes_dlx_block_max_width',
	sprintf(
		'%d%s',
		absint( $maximum_width ),
		sanitize_text_field( $maximum_width_unit )
	)
);

Last updated