Skip to content
Discussion options

You must be logged in to vote

You need to add the plugin to my-plugin/src/api/my-plugin/my-function.js and then you can access the function at /api/my-plugin/my-function

So odds are you're not putting your function in the right folder in your theme. See the PR adding this functionality #31466

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@KyleAMathews
Comment options

@kalebheitzman
Comment options

Answer selected by kalebheitzman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants