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 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