Return to Snippet

Revision: 35134
at November 3, 2010 04:52 by jonathanpglick


Initial Code
$GLOBALS['pager_total_items'][0];

Initial URL

                                

Initial Description
The total number of search results can be added in a hook_preprocess_search_results() function from the following variable:

Initial Title
Drupal get total number of search results from pager

Initial Tags
search, drupal

Initial Language
PHP