Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose snippet context during execution #195

Open
sheabunge opened this issue Nov 29, 2024 · 0 comments
Open

Expose snippet context during execution #195

sheabunge opened this issue Nov 29, 2024 · 0 comments

Comments

@sheabunge
Copy link
Member

Is your feature request related to a problem? Please describe.
I’m trying to automate debugging across several snippets, and I would like to access the name of the Snippet that the code is running in. Is there any way to query the name of the Snippet?

Describe the solution you'd like
I want a way to access the context of the current snippet within the code.

Additional context
Originally raised here: https://wordpress.org/support/topic/access-the-name-of-the-snippet/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant