Skip to content
This repository was archived by the owner on Oct 10, 2022. It is now read-only.
This repository was archived by the owner on Oct 10, 2022. It is now read-only.

blockNamePHPLower causes issue when its running as a function n ame #306

Open
@blachawk

Description

@blachawk

Can a developer on this project please explain what is going on here with this function name format on your init.php file, which throws an error in VSCode....

Line 30:

 function <% blockNamePHPLower %>_cgb_block_assets() { // phpcs:ignore
	// Register block styles for both frontend + backend.
	.....
}

why is the function name setup that way in this php file?????? its a problem. how do we fix that?
function <% blockNamePHPLower %>

why would anyone write a function name that way in a php file?????

what would be an alternative way to bring blockNamePHPLower into this area, without the invalid naming convention used above?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions