Last active
December 10, 2015 23:39
-
-
Save AaronHolbrook/4511254 to your computer and use it in GitHub Desktop.
Curls in the Function reference page from WordPress.org, strips everything except the function name. For future use in building Sublime plugin for function lookups.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s http://codex.wordpress.org/Function_Reference | grep -C 0 "title=\"Function Reference" | sed 's/.*:.*Function Reference\/.*">//' | sed 's/<.*>//' | sed 's/(.*)//' > wp-functions.txt |
seems the code needs an update, they must have changed the output of the page
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice thanks @mboynes!