Whats the point?
To give you tacos!
┈┈┈┈╭╯╭╯╭╯┈┈┈┈┈
┈┈┈╱▔▔▔▔▔╲▔╲┈┈┈
┈┈╱┈╭╮┈╭╮┈╲╮╲┈┈
┈┈▏┈▂▂▂▂▂┈▕╮▕┈┈
┈┈▏┈╲▂▂▂╱┈▕╮▕┈┈
┈┈╲▂▂▂▂▂▂▂▂╲╱┈┈
Use the taco_api_tacos filter
add_filter( 'taco_api_tacos', 'add_tacos', 10, 1 );
function add_tacos( $tacos ) { $tacos[] = "your taco" }
If you pass tacos=true
to a /post/ID
endpoint, you will get a taco response as part of your post object