Skip to content

Conversation

laundy
Copy link

@laundy laundy commented Oct 1, 2025

I've noticed that the generated view names for blocks do not match the slugs. For example, wp acorn acf:block ImageAndTextBlock generates a view image-and-text-block.blade.php (kebab case) but the slug is image_and_text (snake case).

This is one approach to solve this. Or would you rather change the slug in the stub?

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

Successfully merging this pull request may close these issues.

1 participant