✏️ 编辑:class-dropin.php
路径:
/home/forge/kingkrunch.com/wp/wp-content/plugins/simple-history/dropins/class-dropin.php
大小:723 B · 修改:2026-09-25 00:42:29 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
<?php namespace Simple_History\Dropins; use Simple_History\Helpers; use Simple_History\Simple_History; /** * Base class for dropins. */ abstract class Dropin { /** @var Simple_History */ protected Simple_History $simple_history; /** * @param Simple_History $simple_history Simple_History instance. */ public function __construct( $simple_history ) { $this->simple_history = $simple_history; } /** * Fired when Simple History has loaded the dropin. * * @return void */ public function loaded() { // ... } /** * Get the slug for the dropin, * i.e. the unqualified class name. * * @return string */ public function get_slug() { return Helpers::get_class_short_name( $this ); } }
💾 保存
取消
保存为 UTF-8,换行统一为 LF