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/GetDailyAyurvedaReading.php

    r3681966 r3747703  
    3535                'longitude' => '',
    3636                'timezone' => '',
     37                'mode' => 'auto',
    3738                'hide_readings' => 'inherit',
    3839                'hide_sections' => 'inherit',
    … …  
    5556                wp_enqueue_style( 'roxyapi-frontend' );
    5657
     58                if ( $atts['mode'] === 'form' || ( $atts['mode'] !== 'static' && ( $atts['latitude'] === '' || $atts['longitude'] === '' ) ) ) {
     59                        return \RoxyAPI\Support\FormRenderer::render( \RoxyAPI\Generated\Forms\GetDailyAyurvedaReadingForm::class, $atts );
     60                }
     61
    5762                $data = \RoxyAPI\Generated\Client::getDailyAyurvedaReading( $atts['lang'], $atts['date'], $atts['latitude'], $atts['longitude'], $atts['timezone'] );
    5863
Note: See TracChangeset for help on using the changeset viewer.