文件操作 - Assistant.php
返回文件管理
返回主菜单
删除本文件
文件: /home/www/public/wp-content/plugins/all-in-one-seo-pack/app/Common/Ai/Assistant.php
编辑文件内容
<?php namespace AIOSEO\Plugin\Common\Ai; // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * AI Assistant handler for managing AI Assistant blocks. * * @since 4.9.1 */ class Assistant { /** * Returns the data for Vue. * * @since 4.9.1 * * @return array The data. */ public function getVueDataEdit() { $isEnabled = ! aioseo()->ai->isDisabled(); return [ 'extend' => array_fill_keys( [ 'block', 'blockEditorInserterButton', 'paragraphPlaceholder' ], $isEnabled ) ]; } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件