Toolbox for Beaver Builder

toolbox_relevanssi_didyoumean_after

Sets the text after the relevanssi_didyoumean suggestion. Default value is  "</p>".

Parameters

  • $string (string)

Usage

Add a filter to change the text after the suggested search, if any.

<?php

add_filter( 'toolbox_relevanssi_didyoumean_after' , 'my_relevanssi_didyoumean_text_after' );

function my_relevanssi_didyoumean_text_after( $string ) {
    $string = '</p>';
    return $string;
}

Note: Make sure that any closing tags need to be matched to the opening tags defined in the toolbox_relevanssi_didyoumean_before filter.

[ error handling twig template ] Template "beaverplugins_samesection.twig" is not defined in "__string_template__2c572f4a6f2901ac0bdd601f3aa8ca34dc8cd00c4b4729bae566e614f285eecd" at line 1.
Last modified: July 1st, 2019