Hook actionSearch

Information

Hook locations:

  • front office

Hook type: action

Located in:

Parameters details

    <?php
    array(
      'expr' => (string) Search query,
      'total' => (int) Amount of search results
    );

Call of the Hook in the origin file

Hook::exec('actionSearch', [
                'searched_query' => $queryString,
                'total' => $count,

                // deprecated since 1.7.x
                'expr' => $queryString,
            ])