do_action ( 'jp_carousel_enqueue_assets', bool $first_run, array $localized_strings )

Fires after carousel assets are enqueued for the first time.<p>Allows for adding additional assets to the carousel page.</p>

Source file: modules/carousel/jetpack-carousel.php

View in GitHub

Parameters

$first_run

(bool) First load if Carousel on the page.

$localized_strings

(array) Array of strings passed to the Jetpack js file.


Changelog

Since: Jetpack 1.6.0


Have a question?

Comments are closed for this article, but we're still here to help! Visit the support forum and we'll be happy to answer any questions.

View support forum