Skip to content

Toolbox for Beaver Builder


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


  • $string (string)


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


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.

Last modified: July 1st, 2019