Plugin Directory


Ignore:
Timestamp:
10/15/2026 06:27:53 AM (4 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/GetMoonCalendar.php

    r3647968 r3747703  
    3333                'month' => '',
    3434                'lang' => '',
     35                'mode' => 'auto',
    3536                'hide_readings' => 'inherit',
    3637                'hide_sections' => 'inherit',
    … …  
    5354                wp_enqueue_style( 'roxyapi-frontend' );
    5455
     56                if ( $atts['mode'] === 'form' || ( $atts['mode'] !== 'static' && ( $atts['year'] === '' || $atts['month'] === '' ) ) ) {
     57                        return \RoxyAPI\Support\FormRenderer::render( \RoxyAPI\Generated\Forms\GetMoonCalendarForm::class, $atts );
     58                }
     59
    5560                $data = \RoxyAPI\Generated\Client::getMoonCalendar( $atts['year'], $atts['month'], $atts['lang'] );
    5661
Note: See TracChangeset for help on using the changeset viewer.