I'm trying to render shortcode from another plugin in my form, but it's not working. I've tried HTML, WYSIWYG, text. I've pretty much tried everything in the posts below, to no avail. Please advise.
https://support.metabox.io/topic/output-shortcode-from-a-custom-field/
https://support.metabox.io/topic/shortcodes-from-other-plugins-not-rendering-in-metabox-fields/
https://support.metabox.io/topic/my-shortcode-in-a-custom-html-field/
This is what I've tried in my code snippets:
<?php
function render_profilegrid_group_form() {
return do_shortcode('[profilegrid_new_group]');
}
?>
and
function show_profilegrid_group() {
echo do_shortcode('[profilegrid_new_group]');
}
In HTML form, I've put this in the PHP callback: render_profilegrid_group_form or show_profilegrid_group