HEX
Server: Apache
System: Linux webm004.cluster121.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: grainesdfo (155059)
PHP: 5.4.45
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/grainesdfo/www/wp-content/plugins/easing-slider/src/Plugin/Repositories/Sliders.php
<?php

namespace EasingSlider\Plugin\Repositories;

use EasingSlider\Foundation\Repositories\PostType;
use EasingSlider\Plugin\Models\Slider;

/**
 * Exit if accessed directly
 */
if ( ! defined('ABSPATH')) {
	exit;
}

class Sliders extends PostType
{
	/**
	 * Post Type
	 *
	 * @var string
	 */
	protected $postType = 'easingslider';

	/**
	 * Meta Key
	 *
	 * @var string
	 */
	protected $metaKey = '_easingslider';

	/**
	 * Gets the post type label
	 *
	 * @return string
	 */
	protected function getPostTypeLabel()
	{
		return __('Sliders', 'easingslider');
	}

	/**
	 * Gets a new model instance
	 *
	 * @return \EasingSlider\Foundation\Models\ModelContract
	 */
	protected function newModel()
	{
		return new Slider();
	}
}