Title: Hook Injector
Author: dharmilkumar
Published: <strong>2026 年 2 月 25 日</strong>
Last modified: 2026 年 2 月 25 日

---

搜索插件

![](https://ps.w.org/hook-injector/assets/banner-772×250.png?rev=3469620)

![](https://ps.w.org/hook-injector/assets/icon-256×256.png?rev=3469601)

# Hook Injector

 作者：[dharmilkumar](https://profiles.wordpress.org/dharmilkumar/)

[下载](https://downloads.wordpress.org/plugin/hook-injector.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/hook-injector/#description)
 * [评价](https://cn.wordpress.org/plugins/hook-injector/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/hook-injector/#developers)

 [支持](https://wordpress.org/support/plugin/hook-injector/)

## 描述

Hook Injector — the sleek, no-fuss command center for injecting custom content into
WordPress hooks, minus the code-cramping headaches.
 Whether you’re a dev dodging
theme updates or a site builder craving pixel-perfect placements, this plugin lets
you harness the power of add_action without ever cracking open a text editor. Just
fire up the dashboard, drop your content into Gutenberg’s intuitive playground, 
and hook it where it belongs—be it wp_head for scripts, the_content for inline magic,
or any obscure callback from WooCommerce, Elementor, or your fave theme.

Key Features:
 – No-Code Injections: Whip up rich content with the full Gutenberg
Block Editor—core blocks, third-party embeds, shortcodes, HTML snippets, you name
it. Assign to any action hook with a simple dropdown or manual entry, complete with
priority tweaks for ordering. – Developer Friendly: Forged in React for that buttery-
smooth UX, adhering to WP’s latest standards. Injections live safely as custom post
types, so they’re editable, duplicable, and nuke-proof against plugin conflicts.

Under the hood? Clean, reversible PHP generation that echoes your blocks at runtime—
no bloat, no breakage. Perfect for injecting schema, popups, ads, legal footers,
or dev experiments. Works with classic themes, block themes (where hooks exist),
and plugin ecosystems galore.

## 评价

![](https://secure.gravatar.com/avatar/27fb4c43ecee00a4fa0b68ef99327f1694e968837d4de4d953870c0c16e22179?
s=60&d=retro&r=g)

### 󠀁[Great work. Very useful](https://wordpress.org/support/topic/great-work-very-useful-2/)󠁿

 [ishaaa18](https://profiles.wordpress.org/ishaaa18/) 2026 年 2 月 25 日 1 回复

✨Hook Injector is a very useful and lightweight plugin for adding custom content
to WordPress hooks without touching theme files.🎯 The interface is clean, easy 
to use, and works perfectly with Gutenberg.⏳ It saves a lot of development time
and is especially helpful for developers and site owners who want flexibility without
editing code.🔥 Highly recommended! 🍀

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/hook-injector/reviews/)

## 贡献者及开发者

「Hook Injector」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ dharmilkumar ](https://profiles.wordpress.org/dharmilkumar/)

[帮助将「Hook Injector」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/hook-injector)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/hook-injector/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/hook-injector/)，或通过[RSS](https://plugins.trac.wordpress.org/log/hook-injector/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/hook-injector/)。

## 更新日志

#### 1.0.0

 * Initial release.
 * Added Injection Custom Post Type.
 * Added Gutenberg integration.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**3 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/hook-injector/)
 * 标签
 * [content injection](https://cn.wordpress.org/plugins/tags/content-injection/)
   [developer](https://cn.wordpress.org/plugins/tags/developer/)[gutenberg](https://cn.wordpress.org/plugins/tags/gutenberg/)
   [hooks](https://cn.wordpress.org/plugins/tags/hooks/)
 *  [高级视图](https://cn.wordpress.org/plugins/hook-injector/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/hook-injector/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/hook-injector/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/hook-injector/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/hook-injector/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/hook-injector/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/hook-injector/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/hook-injector/reviews/)

## 贡献者

 *   [ dharmilkumar ](https://profiles.wordpress.org/dharmilkumar/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/hook-injector/)