✏️ 编辑:settings-general.php
路径:
/home/forge/kingkrunch.com/wp/wp-content/plugins/simple-history/templates/settings-general.php
大小:1.22 KB · 修改:2026-09-25 00:42:29 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
<?php namespace Simple_History; use Simple_History\Dropins\Sidebar_Add_Ons_Dropin; use Simple_History\Simple_History; defined( 'ABSPATH' ) || die(); /** * This is the output of the general settings page. */ ?> <div class="wrap sh-Page-content"> <div class="sh-grid sh-grid-cols-2/3"> <form method="post" action="options.php"> <?php // Prints out all settings sections added to a particular settings page. do_settings_sections( Simple_History::SETTINGS_MENU_SLUG ); // Output nonce, action, and option_page fields. settings_fields( Simple_History::SETTINGS_GENERAL_OPTION_GROUP ); submit_button(); ?> </form> <?php if ( Helpers::show_promo_boxes() ) { ?> <div style="margin-top: var(--sh-spacing-medium);"> <?php // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped echo Sidebar_Add_Ons_Dropin::get_premium_features_postbox_html(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped echo Sidebar_Add_Ons_Dropin::get_woocommerce_logger_features_postbox_html(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped echo Sidebar_Add_Ons_Dropin::get_debug_and_monitor_features_postbox_html(); ?> </div> <?php } ?> </div> </div>
💾 保存
取消
保存为 UTF-8,换行统一为 LF