# updraftcentral/0.8.26/actions/0abstract.php

UpdraftCentral Dashboard, version 0.8.26. 47 lines.

- Page: https://pluginprobe.com/plugins/updraftcentral/0.8.26/code/actions/0abstract.php
- Raw: https://pluginprobe.com/plugins/updraftcentral/0.8.26/raw/actions/0abstract.php
- Modified: 2018-02-06T18:38:40+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/updraftcentral/0.8.26/code/actions/0abstract.php#L10-L20`.

```php
<?php

if (!defined('UD_CENTRAL_DIR')) die('Security check');
/**
 * Abstract class for All Remote Commmunication actions for available sites
 */
abstract class UpdraftRC_Action {

	// By default, a nonce is required - so individual actions must explicitly disable this if not required.
	public $check_nonce = 'updraftcentral';

	// Whether to show the page header (boolean)
	public $show_header = true;

	// Mothership
	protected $rc;

	protected $user;

	protected $sites;

	/**
	 * Make sure to call parent::__construct() if using your own constructor
	 */
	public function __construct() {
		global $updraft_central;
		$this->rc = $updraft_central;
		$this->user = $this->rc->user;
		$this->sites = $this->user->sites;
	}

	/**
	 * Authorisation checks. Return a boolean result.
	 *
	 * @return Boolean
	 */
	public function auth_check() {
		return true;
	}

	/**
	 * Echo your output
	 */
	public function render() {
	}
}

```
