Файловый менеджер - Редактировать - /var/www/xthruster/html/wp-content/plugins/elementor-pro/modules/notes/database/migrations/add-note-position.php
Назад
<?php namespace ElementorPro\Modules\Notes\Database\Migrations; use ElementorPro\Modules\Notes\Module; use ElementorPro\Core\Database\Base_Migration; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } class Add_Note_Position extends Base_Migration { /** * @inheritDoc */ public function up() { $this->add_columns( Module::TABLE_NOTES, [ 'position' => 'text null comment "A JSON string that represents the position of the note inside the element in percentages. e.g. {x:10, y:15}" AFTER `status`', ] ); } /** * @inheritDoc */ public function down() { $this->drop_columns( Module::TABLE_NOTES, [ 'position' ] ); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.3-4ubuntu2.24 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка