Toolbox for Beaver Builder


Sets the text before the relevanssi_didyoumean suggestion. Default value is __( "<p>Did you mean: " ).


  • $string (string)


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


add_filter( 'toolbox_relevanssi_didyoumean_before' , 'my_relevanssi_didyoumean_text_before' );

function my_relevanssi_didyoumean_text_before( $string ) {
    $string = '<p>Maybe you could try: ';
    return $string;

Note: should you decide to change the surrounding tag (<p> in example), don't forget to change it in the toolbox_relevanssi_didyoumean_after filter as well.

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