WP Manifestindependent plugin directory
manifest / integrations / wp-rest-api-taco-endpoint

The WP REST API Taco Endpoint

Because tacos!

by Roy Sivan · github.com/royboy789/wp-rest-api-taco-endpoint · website

3stars
2forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/royboy789/wp-rest-api-taco-endpoint/archive/refs/heads/master.zip

Readme

WordPress REST API Taco Endpoint

Whats the point?
To give you tacos!

┈┈┈┈╭╯╭╯╭╯┈┈┈┈┈
┈┈┈╱▔▔▔▔▔╲▔╲┈┈┈
┈┈╱┈╭╮┈╭╮┈╲╮╲┈┈
┈┈▏┈▂▂▂▂▂┈▕╮▕┈┈
┈┈▏┈╲▂▂▂╱┈▕╮▕┈┈
┈┈╲▂▂▂▂▂▂▂▂╲╱┈┈

To add a taco!

Use the taco_api_tacos filter

add_filter( 'taco_api_tacos', 'add_tacos', 10, 1 );  
function add_tacos( $tacos ) { $tacos[] = "your taco" }

Tacos in Posts

If you pass tacos=true to a /post/ID endpoint, you will get a taco response as part of your post object

The Response

taco response
Post Response:
taco response

Read the full README on GitHub →