quotes_dlx_block_template

Override the template that is shown on the frontend.

This filter can be used to change the template that is output via the block's settings.

Location: php/Blocks.php

/**
 * Filter: quotes_dlx_block_template
 *
 * Set a new default template.
 *
 * @since 1.0.0
 *
 * @param string Template name (slug).
 *
 * @return string new template name (slug).
 */
$template_name = apply_filters( 'quotes_dlx_block_template', $template_name );

Last updated