Plugin Directory


Ignore:
Timestamp:
10/15/2026 06:27:53 AM (3 days ago)
Author:
roxyapi
Message:

Update to version 1.19.0 from GitHub

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roxyapi/trunk/src/Generated/Shortcodes/GenerateLocalSpace.php

    r3647968 r3747703  
    3737                'lang' => '',
    3838                'include' => '',
     39                'mode' => 'auto',
    3940                'hide_readings' => 'inherit',
    4041                'hide_sections' => 'inherit',
    … …  
    5657
    5758                wp_enqueue_style( 'roxyapi-frontend' );
     59
     60                if ( $atts['mode'] === 'form' || ( $atts['mode'] !== 'static' && ( $atts['date'] === '' || $atts['time'] === '' || $atts['latitude'] === '' || $atts['longitude'] === '' || $atts['timezone'] === '' ) ) ) {
     61                        return \RoxyAPI\Support\FormRenderer::render( \RoxyAPI\Generated\Forms\GenerateLocalSpaceForm::class, $atts );
     62                }
    5863
    5964                                $body = array_filter(
Note: See TracChangeset for help on using the changeset viewer.