/ Published in: PHP

The total number of search results can be added in a hook_preprocess_search_results() function from the following variable:
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$GLOBALS['pager_total_items'][0];
Comments
