quotes_dlx_block_output

Short circuit the block render and output your own block output.

This filter is a flag and if set, will allow you to customize the block output.

Location: php/Blocks.php

/**
 * Filter: quotes_dlx_block_output
 *
 * Short circuit this render and output your own block output.
 *
 * @since 1.0.0
 *
 * @param bool   false       To not override.
 * @param array  $attributes Block attributes.
 * @param string $content    Block content.
 *
 * @return bool|string False value for no override, string if override.
 */
$custom_output = apply_filters( 'quotes_dlx_block_output', false, $attributes, $content );
if ( $custom_output ) {
	return $custom_output;
}

Last updated