跳到内容

Beans Visual Hook Guide

v1.1.0

Jeff Cleverley · 2018年3月15日 上架

A useful companion tool for theme development with the Beans Framework. Displays all possible Markup Action Hooks made available by the Beans HTML AP …

正在使用
10+
评分
暂无
累计下载
2,775
最近更新
2018年7月20日
需要 WordPress 4.6+已测试到 4.9.36PHP 5.6+

截图

Display Hooks Selectively
Display Hooks Selectively
Display All Hooks (so many hooks)
Display All Hooks (so many hooks)
View the possible Hooks for each Markup
View the possible Hooks for each Markup
Data Markup IDs viewed in the inspector
Data Markup IDs viewed in the inspector

A Plugin tool to aid theme development with the innovative, flexible, and incredibly powerful Beans Framework.

When enabled alongside Beans Development Mode, this plugin displays all possible Markup Action Hooks made available by the Beans HTML API.

Beans is a dream to develop with, as all markup and attributes added using Beans are registered using a unique Markup ID which can be exposed by enabling the Beans Development Mode in settings.

Once Development Mode is enabled, the Markup IDs are output in a data-markup-id tag in the front-end. The values of which can be used by the various Beans APIs to rapidly develop beautiful themes.

Any markup added using Beans adds several dynamic action hooks both before and after it:

{$markup_id}_before_markup, fires before the opening markup
{$markup_id}_prepend_markup, fires after the opening markup
{$markup_id}_append_markup, fires before the closing markup
{$markup_id}_after_markup, fires after the closing markup.

( _prepend_markup and _append_markup are not available for self-closed markup )

In short, this means pretty much anything can be added anywhere on any page by adding actions to the available hooks.

This plugin is intended as a companion tool to the Beans Development Mode and your Browser inspector. It displays all of the available hooks that have been created dynamically by the Beans HTML API, making it easy for Beans Themes Developers to visualise the appropriate hook to use.

The Beans logo and Beans name are being used with kind permission from the amazing people behind the Beans Framework.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums