bobbingwide / oik-shortcodes

Shortcode, block and API server
https://www.oik-plugins.com/oik-plugins/oik-shortcode-server/
GNU General Public License v2.0
1 stars 0 forks source link

Build a cached version of the WordPress API ref for APIs, files, classes and hooks #73

Closed bobbingwide closed 4 years ago

bobbingwide commented 5 years ago

Once the API Ref for WordPress core has been built we can create a cached version that enables us to link to the WordPress reference by a quick lookup. All we need to know is that the API, file, class or hook is a WordPress one. Similar to creating links to PHP.

Well, that's the idea. Now we just need to see how practical it is. First we need to build the index.

bobbingwide commented 5 years ago

so. today @johnbillion announced his version of action hooks and filters. His is produced using WP parser. I really should check this out.

bobbingwide commented 4 years ago

To test that this works for sites other than wp-a2z.org I'm rebuilding the API ref on the development site for oik-plugins.com ( s.b/oikcom )

bobbingwide commented 4 years ago

It would be nice if, for sites which aren’t core.wp-a2z.org, that a 301 redirect is done for any request that is for a core API. Should be easy right?

bobbingwide commented 4 years ago

The 301 redirection is now implemented on wp-a2z.org and documented in a brief blog post. https://core.wp.a2z/2019/12/29/requests-for-core-apis-redirected-to-core-wp-a2z-org/ Closing therefore.