Open geek92sunny opened 1 year ago
for short code we have create block ?? or any other reason.
we have conditionally php and html so i want to sand php using this method
https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/creating-dynamic-blocks/
but not work when i use this way for render php function.
i try on my end with my searching bases but not success backed produce error for preview when i return static string in php function as well as dynamic ,give me some guide to help render fronted QA as well as back end.
New PR
Similar to shortcode, we will create this Gutenberg block.