Royuen X Tech

Technology knowledge base, experiments & random thoughts

Simple solution to the poor Wordpress documentation

April4

In my recent projects, I experienced a really hard time to find out those native Wordpress functions that I needed because many of them are simply not be documented by official Wordpress website. Even if I want to search for some simple functions, I found nothing in Wordpress website too. Possibly it is related to my poor searching skills, but it should be more user friendly right?

Instead of searching online, my friend introduced me a really simple alternative which I found really useful, just make use of the cat command

cd wp-includes

cat * | grep function | grep keyword

First go to wp-includes folder, and grab all the functions related to your keyword

wordpress search

See? All available theme functions that related to permalink are shown immediately, quick and useful!

[tags]wordpress, documentation, unix, cat[/tags]

posted under Wordpress

Email will not be published

Website example

Your Comment: