1
I want to include a PHP script in a custom block.
When I paste the script into the block editor, it doesn't work - no errors, but it just doesn't work.
I tried selecting php script, and that didn't work.
I then tried selecting html and using an include statement - that didn't work.
When I call the script directly form my browser, it works just fine.
What am I doing wrong?
Thank you.
John