apply_filters ( 'infinite_scroll_additional_scripts', array $results[’scripts’], array $initial_scripts, array $results, array $query_args, WP_Query $wp_query )

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

Source file: modules/infinite-scroll/infinity.php

View in GitHub

Parameters

$results[’scripts’]

(array) Additional scripts required by the latest set of IS posts.

$initial_scripts

(array) 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

Since: Jetpack 2.1.2


Have a question about this article?

Comments are currently closed for this article, but rest assured we're still here to help! Send us a message and we'll get back to you.

Contact us