WordPress.org

Making WordPress.org

Opened 5 years ago

Closed 3 years ago

Last modified 7 months ago

#557 closed enhancement (maybelater)

Provide a mechanism to search for aliases of dynamic hooks

Reported by: DrewAPicture Owned by:
Milestone: Priority: normal
Component: Developer Hub Keywords:
Cc:

Description

Talked to Nacin and Jorbin in Portland about an idea make it possible to search the code reference for common aliases of dynamic hooks.

The idea would be to document common hook aliases in core docs, parse them, and make it possible to, say, search for 'publish_post', and return the reference for {status}_{post_type}.

Change History (8)

#1 @DrewAPicture
5 years ago

At the WordCamp Seattle contributor day, we already started working on a spreadsheet of common aliases: https://docs.google.com/spreadsheets/d/1QfHEPhI9j_Dts5XAxC_kX-LvdE0fxyHlnRFomOTFzQk/edit#gid=0

#3 @naomicbush
5 years ago

  • Cc hello@… added

#4 @siobhan
5 years ago

@DrewaPicture - are you still planning to implement this?

#5 @iworks
3 years ago

This is hard to achieve with PHP but very easy with ElasticSearch.

This ticket was mentioned in Slack in #meta-devhub by drew. View the logs.


3 years ago

#7 @DrewAPicture
3 years ago

  • Resolution set to maybelater
  • Status changed from new to closed

Closing as maybelater until after the first phase of the Codex Migration project is complete. This requires a lot of work on the core and parser fronts to implement a custom tag and patch allthethings in core.

This ticket was mentioned in Slack in #docs by drew. View the logs.


7 months ago

Note: See TracTickets for help on using tickets.