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/08.banners.php
<?php
namespace RoloOptions\Section;

use  \RoloOptions\Section as Section;

Class Banners extends Section
{
	/**
	* The section slug
	*
	* @since 1.0.0
	*
	*/
	public $slug;

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

	public function set_slug($slug)
	{
		$this->slug = $slug;
	}

	/**
	* The section markup
	*
	* @since 1.0.0
	*
	*/
	public function section()
	{
		return esc_html__('Check Our Themes', 'rolo-slider');
	}

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

        $options[] = array(
            'section' => $section,
            'name' => '',
            'title' => esc_html__('Get Our Best Multipurpose Theme For Startups And Creatives', 'rolo-slider'),
            'type' => 'banner',
	        'src' => ROLO_ASSETS_URL.'images/banner-green-ink-vertical.jpg',
	        'url' => 'http://pressfore.com/item/greenink-pro/',
	        'height' => '400px'
		);

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