Files
roi-theme/wp-content/plugins/advanced-ads/includes/groups/class-group-slider.php
root a22573bf0b Commit inicial - WordPress Análisis de Precios Unitarios
- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 21:04:30 -06:00

44 lines
883 B
PHP
Executable File

<?php
/**
* This class is responsible to model slider groups.
*
* @package AdvancedAds
* @author Advanced Ads <info@wpadvancedads.com>
* @since 1.48.0
*/
namespace AdvancedAds\Groups;
use AdvancedAds\Abstracts\Group;
use AdvancedAds\Interfaces\Group_Interface;
defined( 'ABSPATH' ) || exit;
/**
* Slider group.
*/
class Group_Slider extends Group implements Group_Interface {
/**
* Get delay.
*
* @param string $context What the value is for. Valid values are view and edit.
*
* @return int
*/
public function get_delay( $context = 'view' ): int {
return $this->get_prop( 'delay', $context );
}
/**
* Is grid display random.
*
* @param string $context What the value is for. Valid values are view and edit.
*
* @return bool
*/
public function is_random( $context = 'view' ): bool {
return $this->get_prop( 'random', $context );
}
}