文件操作 - Page.php
返回文件管理
返回主菜单
删除本文件
文件: /storage/v12552/rokpawnew/public_html/wp-content/plugins/templately/includes/Builder/Types/Page.php
编辑文件内容
<?php namespace Templately\Builder\Types; use Templately\Builder\Types\BaseTemplate; class Page extends BaseTemplate { static public function get_type(): string { return 'wp-page'; } static public function get_title(): string { return __( 'Page', 'templately' ); } static public function get_plural_title(): string { return __( 'Pages', 'templately' ); } public static function get_properties(): array { $properties = parent::get_properties(); $properties['support_wp_page_templates'] = true; $properties['cpt'] = 'page'; $properties['builder'] = false; return $properties; } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件