In this article

filter

infinite_scroll_additional_scripts

Filter the additional scripts required by the latest set of IS posts.

Parameters

$results
array

['scripts'] Additional scripts required by the latest set of IS posts.

$initial_scripts
(array | bool)

Set of scripts loaded on each page.

$results
array

Array of Infinite Scroll results.

$query_args
array

Array of Query arguments.

$wp_query
WP_Query

WP Query.

Changelog

How to use this hook

See “How to use actions and filters to customize Jetpack”.