- This topic has 2 replies, 2 voices, and was last updated 9 months ago by .
-
Topic
-
Hi, I’m saving a block with the Meta Box Builder and am setting the Render Options to use a PHP function. I can set the render_callback successfully. It does use the callback as specified;
However, two minor issues:
- When I enter a callback that uses a namespace, like “\TimberMetaboxBlocks\timber_blocks_callback”
the generated code displays it with TWO backslashes: “\TimberMetaboxBlocks\timber_blocks_callback” - When going back to the settings, the render options automatically open on the “Code” settings panel. (PHP callback is still used correctly)
- When I enter a callback that uses a namespace, like “\TimberMetaboxBlocks\timber_blocks_callback”
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.