asp_redirect_url

The URL where the search redirects to, when the user hits the return key, "magnifier", "search" or "more results" buttons.

WPD.Hooks.applyFilters('asp_redirect_url', url, searchId, searchInstanceId);

Example

WPD.Hooks.addFilter('asp_redirect_url', function(url){
	return url.replace(
		"string", 
		"string_to_replace_with"
	);
}, 10);

Last updated

Copyright Ernest Marcinko