Title: Storefront Visual Hook Guide
Author: Antonio Sanchez
Published: <strong>2018 年 7 月 21 日</strong>
Last modified: 2021 年 2 月 19 日

---

搜索插件

![](https://ps.w.org/storefront-visual-guide/assets/banner-772x250.png?rev=1920005)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/storefront-visual-guide/assets/icon.svg?rev=1920005)

# Storefront Visual Hook Guide

 作者：[Antonio Sanchez](https://profiles.wordpress.org/archtkt/)

[下载](https://downloads.wordpress.org/plugin/storefront-visual-guide.zip)

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

 [支持](https://wordpress.org/support/plugin/storefront-visual-guide/)

## 描述

**Storefront theme required.**

**Please report any bug or layout break you find.**

Once installed this plugin adds a drop down menu to the frontend admin bar showing
different options.

#### With this plugin you can:

 1. Show Storefront Hooks: Select this option to see the Storefront theme’s hooks in
    their actual locations.
 2. Show Storefront Filters: Select this option to see the Storefront theme’s filters
    list.
 3. Show WooCommerce Hooks: Select this option to see the WooCommerce plugin’s hooks
    in their actual locations on your current theme. WooCommerce plugin must be active
    for you to see this option.
 4. Display functions hooked in Storefront and WooCommerce action hooks.
 5. Display remove_action() hints for hooked functions in Storefront and WooCommerce
    action hooks.

This plugin is built to work with the Storefront Theme.

#### Roadmap

 1. Include Storefront Markup to help identifying HTML containers.
 2. Include WooCommerce Markup to help identifying HTML containers.

**Feel free to ask for new features.**

## 屏幕截图

 * [[
 * Storefront Visual Hook Guide Menu Closeup.
 * [[
 * Active Storefront theme’s Action Hooks in Front Page.
 * [[
 * Active WooCommerce plugin’s Action Hooks in Single Product Page.
 * [[
 * Funtions hooked in Front Page hooks and remove_action hint.
 * [[
 * Listed filters in homepage with their description.

## 安装

**Install via the WordPress Dashboard:**

 1. Login to your WordPress Dashboard.
 2. Navigate to Plugins, and select “Add new” to go to the “Add Plugins” page.
 3. In the right side, enter “Storefront Visual Hook Guide” in the search input bar,
    and hit your enter key.
 4. Click install, and wait for the plugin to download. Once done, activate the plugin.

**Install via FTP:**

 1. Extract the zip file, login using your ftp client, and upload the entire `storefront-
    visual-guide` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 常见问题

### Will this plugin work for themes other than Storefront?

Unfortunately, no. This plugin was designed to work only with the Storefront theme,
using Storefront theme’s action hooks and filters. Activating the plugin while using
a different theme will trigger a warning.

### Will this plugin work with Storefront child themes?

Yes, this plugin will work perfectly with any Storefront child theme.

### I’ve activated the plugin, where can I access the settings?

This plugin doesn’t have a settings page. Just go to the frontend and you’ll see
the menu in the admin bar.

## 评价

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

### 󠀁[Really useful!](https://wordpress.org/support/topic/really-useful-227/)󠁿

 [devwax](https://profiles.wordpress.org/echoquiet/) 2021 年 4 月 15 日

Thanks, works great!

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

### 󠀁[Very helpful](https://wordpress.org/support/topic/very-helpful-906/)󠁿

 [jamestr](https://profiles.wordpress.org/jamestr/) 2020 年 7 月 30 日

An easy way to visualize hooks and filters for the storefront theme, this plugin
really comes in handy!

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

### 󠀁[Does not work on the new WordPress 5.3.2](https://wordpress.org/support/topic/does-not-work-on-the-new-wordpress-5-3-2/)󠁿

 [smartfon](https://profiles.wordpress.org/smartfon/) 2020 年 2 月 19 日 1 回复

Does not work on the new WordPress 5.3.2 and WooCommerce 3.9.2

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

### 󠀁[works very well](https://wordpress.org/support/topic/works-very-well-395/)󠁿

 [Adam](https://profiles.wordpress.org/jarfar/) 2019 年 4 月 27 日 1 回复

very handy

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

### 󠀁[Excelente!!!](https://wordpress.org/support/topic/excelente-1412/)󠁿

 [luismicc](https://profiles.wordpress.org/luismicc/) 2019 年 2 月 6 日 1 回复

Gran trabajo, plugin excelente!!! Gracias!!!

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

### 󠀁[NICKEL](https://wordpress.org/support/topic/nickel-18/)󠁿

 [idevelopper](https://profiles.wordpress.org/idevelopper/) 2019 年 2 月 3 日 1 
回复

Do you have the same for WCFM Multi vendor Market place for woo? Thanks!

 [ 阅读所有9条评价 ](https://wordpress.org/support/plugin/storefront-visual-guide/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Antonio Sanchez ](https://profiles.wordpress.org/archtkt/)

「Storefront Visual Hook Guide」插件已被翻译至 4 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/storefront-visual-guide/contributors)
为本插件所做的贡献。

[帮助将「Storefront Visual Hook Guide」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/storefront-visual-guide)

### 对开发感兴趣吗?

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

## 更新日志

#### 2.0.1

 * Fixed problem with Template name in Uppercase

#### 2.0

 * Added display Storefront filters lists.
 * Display `storefront_menu_toggle_text` filter in the handheld menu button.
 * Display `storefront_copyright_text` filter in footer.

#### 1.2.1

 * Fixed `action-hooks-box` default sizes to prevent overlapping.
 * Changed button html tags with span tags to prevent WooCommerce JS malfunction.

#### 1.2

 * Added hooked functions display button.
 * Display functions hooked in Storefront action hooks.
 * Display functions hooked in WooCommerce action hooks.
 * Added `remove_action` display button.
 * Added `remove_action` adaptation to classes.

#### 1.1

 * OOP Code Optimization.
 * Avoid non logged in users using the query strings.
 * Added notice when plugin is disabled due to theme change.
 * WooCommerce conditional menu.
 * Clear conditional menus.

#### 1.0.2

 * Added internationalization.
 * Modified artwork.

#### 1.0.1

 * Fixed “Requires at least” version.

#### 1.0.0

 * Initial release
 * Added: Storefront Hooks detector.
 * Added: WooCommerce Hooks detector.

## 额外信息

 *  版本 **2.0.1**
 *  最后更新：**5 年前**
 *  活跃安装数量 **50+**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **5.6.17**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/storefront-visual-guide/) 、 [Spanish (Chile)](https://cl.wordpress.org/plugins/storefront-visual-guide/)、
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/storefront-visual-guide/)、
   [Spanish (Spain)](https://es.wordpress.org/plugins/storefront-visual-guide/) 
   和 [Spanish (Venezuela)](https://ve.wordpress.org/plugins/storefront-visual-guide/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/storefront-visual-guide)
 * 标签
 * [filters](https://cn.wordpress.org/plugins/tags/filters/)[markup](https://cn.wordpress.org/plugins/tags/markup/)
   [storefront](https://cn.wordpress.org/plugins/tags/storefront/)[theme](https://cn.wordpress.org/plugins/tags/theme/)
   [woocommerce](https://cn.wordpress.org/plugins/tags/woocommerce/)
 *  [高级视图](https://cn.wordpress.org/plugins/storefront-visual-guide/advanced/)

## 评级

 4.7 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ Antonio Sanchez ](https://profiles.wordpress.org/archtkt/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/storefront-visual-guide/)