HEX
Server: Apache/2
System: Linux server-27-254-144-72.da.direct 5.10.0-33-amd64 #1 SMP Debian 5.10.226-1 (2024-10-03) x86_64
User: pokaorgani (1114)
PHP: 8.1.33
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/pokaorgani/public_html/wp-content/plugins/rolo-slider/options/sections/04.arrows.php
<?php
namespace RoloOptions\Section;

use  \RoloOptions\Section as Section;

Class Arrows extends Section
{

    public function __construct()
    {
        $this->set_slug('arrows');
        $this->hooks();
    }

    /**
     * The section slug
     *
     * @since 1.0.0
     *
     */
    public function set_slug($slug)
    {
        $this->slug = $slug;
    }

    /**
     * The section Title
     *
     * @since 1.0.0
     *
     */
    public function section()
    {
        return esc_html__('Arrows', 'rolo-slider');
    }

    /**
     * Main plugin options
     *
     * @since 1.0.0
     *
     */
    public function options($options)
    {
        $section = $this->slug;

        # Icon Style
        $options[] = array(
            'section' => $section,
            'name' => '_rl_icstyle',
            'title' => esc_html__('Icon Style', 'rolo-slider'),
            'type' => 'image_select',
            'data' => array(
                'ops' => array(
                    0 => array(
                        'val' => 'circles',
                        'src' => ROLO_ASSETS_URL.'images/circles.png'
                    ),
                    1 => array(
                        'val' => '',
                        'src' => ROLO_ASSETS_URL.'images/square.png'
                    )
                ),
                'default' => ''
            )
        );

        # Icon color
        $options[] = array(
            'section' => $section,
            'name'    => '_rl_iclr',
            'title'   => esc_html__('Icon Color', 'rolo-slider'),
            'type'    => 'color'
        );

        # Icon bg color
        $options[] = array(
            'section'  => $section,
            'name'     => '_rl_ibck',
            'title'    => esc_html__('Icon Background Color', 'rolo-slider'),
            'desc'     => esc_html__('Background color of the circle/square that holds the icon.', 'rolo-slider'),
            'type'     => 'color',
            'data'     => array(
                'default' => 'rgba(183, 180, 180, 0.74)'
            )
        );

        # Hover Icon color
        $options[] = array(
            'section' => $section,
            'name'    => '_rl_iconac',
            'title'   => esc_html__('Hover Icon Color', 'rolo-slider'),
            'desc'     => esc_html__('Arrow color when it is hovered with a mouse.', 'rolo-slider'),
            'type'    => 'color',
            'data'    => array(
                'default' => 'rgba(183, 180, 180, 0.74)'
            )
        );

        # Hover Icon bg color
        $options[] = array(
            'section' => $section,
            'name' => '_rl_iconab',
            'title' => esc_html__('Hover Icon Background', 'rolo-slider'),
            'desc'     => esc_html__('Arrow holder background when it is hovered with a mouse.', 'rolo-slider'),
            'type' => 'color',
            'data' => array(
                'default' => 'rgba(183, 180, 180, 0.74)'
            )
        );

        return apply_filters("rolo_{$section}_options", $options);
    }
}