File "Page.php"

Full path: C:/Inetpub/vhosts/drshti.com/httpdocs/wp-content/plugins/depicter/app/src/Rules/Condition/WordPress/Page.php
File size: 506 B (506 B bytes)
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Editor &nnbsp; Back

<?php

namespace Depicter\Rules\Condition\WordPress;

class Page extends Post {

	/**
	 * @inheritdoc
	 */
	public $slug = 'WordPress_Page';

	/**
	 * @inheritdoc
	 */
	public $control = 'remoteMultiSelect';

	/**
	 * @inheritdoc
	 */
	protected $queryable = true;

	/**
	 * @inheritdoc
	 */
	protected $belongsTo = 'WordPress';

	/**
	 * Post type
	 *
	 * @var string
	 */
	protected $postType = 'page';

	/**
	 * @inheritdoc
	 */
	public function getLabel(){
		return __('A WP Page', 'depicter' );
	}

}