';print_r($abpet_slider);echo ''; if ( ! empty( $image_column ) ) { $abpet_slider['image_column'] = $image_column; $abpet_slider['show_item'] = ( $params['show'] ?? null ) ?: $image_column * 3; } if ( ! empty( $style ) ) { $slider_style = $style == 'gallery' ? 'gallery' : 'slider'; } else { $slider_style = ( $abpet_slider['slider_style'] ?? null ) ?: 'slider'; } include_once ABPET_Function::template_path( 'layout/' . $slider_style . '.php' ); do_action( 'abpet_' . $slider_style . '_template', $img_ids, $abpet_slider ); } } public function slider_popup( $abpet_slider, $img_ids, $popup_id = '#abpet_slider_' ): void { include_once ABPET_Function::template_path( 'layout/slider_popup.php' ); do_action( 'abpet_slider_popup_template', $abpet_slider, $img_ids, $popup_id ); } public function event_schedule_list( int $post_id, array $dates, array $time_infos, string $selected_date = '', string $selected_time = '', string $layout = 'dropdown' ): void { $items = ABPET_Function::event_schedule_items( $post_id, $dates, $time_infos ); if ( ! ABPET_Function::on_off( 'event_date_list' ) || count( $items ) < 2 ) { return; } $is_scroll_layout = 'scroll' === $layout; $dropdown_id = 'abpet-schedule-dropdown-' . $post_id; ?>