admin管理员组

文章数量:1126313

I am using render.php file to render a custom block content. I want to include other php files inside the render.php file.

Does the @wordpress/create-block has the built-in bundling of the php files or I have to configure it?

For example, I have a RandomQuote.php in the src directory and in the render.php, I have

include 'RamdomQuote.php'

The RandmonQuote.php file is not copied to the build folder.

本文标签: plugin developmentMultiple php files in dynamic gutenberg block