文件操作 - Blocks.php
返回文件管理
返回主菜单
删除本文件
文件: /home/www/public/wp-content/plugins/all-in-one-seo-pack/app/Common/Standalone/Blocks/Blocks.php
编辑文件内容
<?php namespace AIOSEO\Plugin\Common\Standalone\Blocks; // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Loads core classes. * * @since 4.2.3 */ abstract class Blocks { /** * Class constructor. * * @since 4.2.3 */ public function __construct() { add_action( 'init', [ $this, 'init' ] ); } /** * Initializes our blocks. * * @since 4.2.3 * * @return void */ public function init() { $this->register(); } /** * Registers the block. This is a wrapper to be extended in the child class. * * @since 4.2.3 * * @return void */ public function register() {} }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件