WordPress / WordPress/HelpHub

Functionality: Automatic linking for hooks (filters/actions)

Open
#50 10 comments 2 reactions 1 assignee View on GitHub

@Aternus is already working on this.

Since Jan 6, 2017.

enhancement initial development
Dominant language
PHP
Stars
116
Forks
54
PR merge metrics
No merged PRs in 30d

Description

Overview:
Add ability to reference the correct hook by using a shortcode.

Workflow:

  1. User adds [filter name="the_title"] or [action name="do_shortcode"]
  2. The system will look for a hook name in the reference database
  3. If successful, a link will be created to the reference
  4. If not successful, the name of the filter will be displayed with a red underline (marking missing content)

Implementation:
Should be pretty straight forward.

What do you think? Improvements?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.