search page title

HI I need to change the search page title, as I have a grid on the content but it doesn't work with beans_modify_hook..

Use the following code snippet and let me know if it works or not?

add_filter( 'beans_search_title_text_output', 'modify_search_title' );
function modify_search_title() {
       return 'This is my search title: ';

Note: Replace the line "This is my search title: " with yours

Write a reply

Login or register to write a reply, it's free!