| Server IP : 128.65.195.232 / Your IP : 216.73.217.20 Web Server : Apache System : Linux h2web212 4.9.0-0.bpo.12-amd64 #1 SMP Debian 4.9.210-1+deb9u1~deb8u1 (2020-06-09) x86_64 User : uid151901 ( 151901) PHP Version : 8.0.30 Disable Function : passthru,exec,system,popen,shell_exec,proc_open,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/clients/1a5fe23ce93412d9e66659e9f5732f73/web/wp-includes/ |
Upload File : |
<?php
/**
* Blocks API: WP_Block_Template class
*
* @package WordPress
* @since 5.8.0
*/
/**
* Class representing a block template.
*
* @since 5.8.0
*/
#[AllowDynamicProperties]
class WP_Block_Template {
/**
* Type: wp_template.
*
* @since 5.8.0
* @var string
*/
public $type;
/**
* Theme.
*
* @since 5.8.0
* @var string
*/
public $theme;
/**
* Template slug.
*
* @since 5.8.0
* @var string
*/
public $slug;
/**
* ID.
*
* @since 5.8.0
* @var string
*/
public $id;
/**
* Title.
*
* @since 5.8.0
* @var string
*/
public $title = '';
/**
* Content.
*
* @since 5.8.0
* @var string
*/
public $content = '';
/**
* Description.
*
* @since 5.8.0
* @var string
*/
public $description = '';
/**
* Source of the content. `theme` and `custom` is used for now.
*
* @since 5.8.0
* @var string
*/
public $source = 'theme';
/**
* Origin of the content when the content has been customized.
* When customized, origin takes on the value of source and source becomes
* 'custom'.
*
* @since 5.9.0
* @var string|null
*/
public $origin;
/**
* Post ID.
*
* @since 5.8.0
* @var int|null
*/
public $wp_id;
/**
* Template Status.
*
* @since 5.8.0
* @var string
*/
public $status;
/**
* Whether a template is, or is based upon, an existing template file.
*
* @since 5.8.0
* @var bool
*/
public $has_theme_file;
/**
* Whether a template is a custom template.
*
* @since 5.9.0
*
* @var bool
*/
public $is_custom = true;
/**
* Author.
*
* A value of 0 means no author.
*
* @since 5.9.0
* @var int|null
*/
public $author;
/**
* Post types.
*
* @since 5.9.0
* @var string[]|null
*/
public $post_types;
/**
* Area.
*
* @since 5.9.0
* @var string|null
*/
public $area;
/**
* Modified.
*
* @since 6.3.0
* @var string|null
*/
public $modified;
}