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