hooks.php

Defines non-search hooks used

Constants

ALS_LOADING_AJAX_RESULTS

ALS_LOADING_AJAX_RESULTS

Functions

als_wp_head()

als_wp_head() : void

Fires during the wp_head hook.

Prints the required css and meta elements.

als_front_scripts()

als_front_scripts() : null

Fires during the wp_enqueue_scripts action hook

Returns

null

als_get_suggestions()

als_get_suggestions() : null

Fires when the user requests search results via ajax search

Returns

null

als_get_results()

als_get_results() 

Handles the ajax requests for search results

als_get_search_query()

als_get_search_query(  $s) 

Filters the search query

Parameters

$s

als_csv_get()

als_csv_get() 

Handles ajax requests for csv files