Title: DevSniper – Global Developer Search
Author: interestoffice
Published: <strong>2026 年 1 月 19 日</strong>
Last modified: 2026 年 1 月 19 日

---

搜索插件

![](https://ps.w.org/devsniper/assets/banner-772x250.png?rev=3444284)

![](https://ps.w.org/devsniper/assets/icon-256x256.png?rev=3441180)

# DevSniper – Global Developer Search

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

[下载](https://downloads.wordpress.org/plugin/devsniper.0.5.1.zip)

 * [详情](https://cn.wordpress.org/plugins/devsniper/#description)
 * [评价](https://cn.wordpress.org/plugins/devsniper/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/devsniper/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/devsniper/#developers)

 [支持](https://wordpress.org/support/plugin/devsniper/)

## 描述

DevSniper brings two tools in one lightweight plugin:

 * Front-end Inspector for logged-in admins (or a custom capability via `devsniper_required_cap`).
   Hover to highlight, click to view tag/ID/classes, size and offsets, DOM path,
   CSS selector, source detection (Elementor/Gutenberg/Theme), copy buttons, quick“
   Open Editor” link, favourites, and a saved per-user toggle.
 * Admin Search (command palette) inside wp-admin with `Ctrl/Cmd + K`: quick results
   for posts/pages, media, users, admin pages, plus per-user favourites with a star
   toggle. Clean UI that respects WordPress styling, with tabs for General/Sources/
   Premium settings.

No tracking, no external requests, no locked “pro-only” code. Everything in this
free version is fully usable.

### SECURITY CHECKLIST

 * Capabilities: Inspector gated by `manage_options` (filter `devsniper_required_cap`);
   admin search limited to `edit_posts`.
 * Nonces: All AJAX routes verify `devsniper_nonce` plus capability checks before
   mutating data.
 * Sanitization/Escaping: All incoming text via `sanitize_text_field`/`esc_url_raw`;
   outputs escaped in HTML; URLs escaped.
 * External requests: None. No telemetry or third-party calls; assets served locally.

## 屏幕截图

[⌊Command palette in wp-admin with grouped results and favourites.⌉⌊Command palette
in wp-admin with grouped results and favourites.⌉[

Command palette in wp-admin with grouped results and favourites.

[⌊Front-end inspector highlight with floating panel and copy buttons.⌉⌊Front-end
inspector highlight with floating panel and copy buttons.⌉[

Front-end inspector highlight with floating panel and copy buttons.

[[

## 安装

 1. Upload the plugin files to `/wp-content/plugins/devsniper` or install via the Plugins
    screen.
 2. Activate the plugin through **Plugins** in WordPress.
 3. In wp-admin click the 🎯 icon in the admin bar or press `Ctrl/Cmd + K` to open 
    the search palette.
 4. On the frontend (logged-in admins), click the same 🎯 icon or press `Ctrl/Cmd +
    Shift + I` to toggle the Inspector.

## 常见问题

### Who can use the Inspector?

By default only users with `manage_options` (filterable via `devsniper_required_cap`)
and who are logged in. The state is saved per user.

### Does it load for visitors?

No. Assets load only for logged-in users with the right capability.

### Do you send any data outside my site?

No. There is no telemetry, no CDN, no remote requests in this MVP.

## 评价

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

### 󠀁[A real time-saver: Cmd/Ctrl+K admin search + inspector in one](https://wordpress.org/support/topic/a-real-time-saver-cmd-ctrlk-admin-search-inspector-in-one/)󠁿

 [yoanwai](https://profiles.wordpress.org/yoanwai/) 2026 年 1 月 19 日

I installed DevSniper while working on a client site and it immediately saved me
time. The Cmd/Ctrl + K command palette is fast and genuinely useful for jumping 
through wp-admin and finding things without digging through menus. The UI feels 
clean and “native” to WordPress, and favourites make repeat actions even quicker.
The front-end Inspector is the real bonus: hover to highlight, click to inspect (
tag/ID/classes), copy selectors, and quickly understand where an element is coming
from. For troubleshooting and editing workflows this is exactly the kind of tool
WordPress has been missing. No tracking, no external calls, and it only loads for
logged-in admins — that’s a big plus.Highly recommended for agencies, freelancers,
and anyone managing multiple WordPress sites.

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

## 贡献者及开发者

「DevSniper – Global Developer Search」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「DevSniper – Global Developer Search」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/devsniper)

### 对开发感兴趣吗?

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

## 更新日志

#### 0.5.1

 * Update: Plugin name reverted to “DevSniper – Global Developer Search”.
 * Update: Version bump and housekeeping.

#### 0.1.0

 * New: Front-end Inspector with hover highlight, element details, copy buttons,
   open-editor link, favourites stored in user meta, and keyboard toggle `Ctrl/Cmd
   + Shift + I`.
 * New: Admin search keeps existing UI, now stores favourites per user, honours 
   capability checks, and ships with tabbed settings + Premium placeholder.
 * Security: Capability filter, nonces on all AJAX, strict sanitization/escaping,
   uninstall cleanup of user meta.

## 额外信息

 *  版本 **0.5.1**
 *  最后更新：**5 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/devsniper/)
 * 标签
 * [admin](https://cn.wordpress.org/plugins/tags/admin/)[developer](https://cn.wordpress.org/plugins/tags/developer/)
   [inspector](https://cn.wordpress.org/plugins/tags/inspector/)[productivity](https://cn.wordpress.org/plugins/tags/productivity/)
   [search](https://cn.wordpress.org/plugins/tags/search/)
 *  [高级视图](https://cn.wordpress.org/plugins/devsniper/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

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

## 支持

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

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