jetpack_gallery_types, array( default => __( Thumbnail Grid, jetpack

jetpack_gallery_types, array( default => __( Thumbnail Grid, jetpack

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_gallery_types, array( default => __( Thumbnail Grid, jetpack') is found 1 times:

  • /class-jetpack-gallery-settings.php line 47
    		 * @since 2.5.1
    		 *
    		 * @param array $value Array of the default thumbnail grid gallery type. Default array contains one key, ‘default’.
    		 */
    		$this->gallery_types = apply_filters( 'jetpack_gallery_types', array( 'default' => __( 'Thumbnail Grid', 'jetpack' ) ) );
    
    		// Enqueue the media UI only if needed.
    		if ( is_countable( $this->gallery_types ) && count( $this->gallery_types ) > 1 ) {
    			add_action( 'wp_enqueue_media', array( $this, 'wp_enqueue_media' ) );
    			add_action( 'print_media_templates', array( $this, 'print_media_templates' ) );
    		}