jp_carousel_force_enable, false

jp_carousel_force_enable, false

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jp_carousel_force_enable, false') is found 1 times:

  • /modules/carousel/jetpack-carousel.php line 289
    			 * @since 1.9.0
    			 *
    			 * @param bool false Should we force enable Carousel? Default to false.
    			 */
    			! apply_filters( 'jp_carousel_force_enable', false )
    		) {
    			// Bail because someone is overriding the [gallery] shortcode.
    			remove_filter( 'gallery_style', array( $this, 'add_data_to_container' ) );
    			remove_filter( 'wp_get_attachment_image_attributes', array( $this, 'add_data_to_images' ) );
    			remove_filter( 'the_content', array( $this, 'add_data_img_tags_and_enqueue_assets' ) );
    			// Display message that carousel has bailed, if user is super_admin, and if we're not on WordPress.com.