add_filter( 'grid_accordion_lightbox_options', 'lightbox_options' ); function lightbox_options( $options ) { $options[ 'type' ] = 'iframe'; return $options; }