If you don't want to use a for each loop, you could use the implode() function. function selectFieldList(){ $values = implode(" ", rwmb_meta( 'property_types', [ 'object_type' => 'setting' ], 'property-settings' ) ?: []); return $values; }
Great video my brother! You should have thousands of subs by now. I know several other methods to achieve select field dynamic data however non of them include crafting PHP directly to the theme file. Your voice is calm and prevents me from getting frustrated when I make a mistake. LMAO You should craft more videos around all the other PHP files you have in your Child Theme.
How to map the Select, Checkbox and Radio field in Bricksforge - Pro Forms? I can map it when it is taxonomy, but when it is metafield I cannot map it to the edit form.
If you don't want to use a for each loop, you could use the implode() function.
function selectFieldList(){
$values = implode("
", rwmb_meta( 'property_types', [ 'object_type' => 'setting' ], 'property-settings' ) ?: []);
return $values;
}
Great video my brother! You should have thousands of subs by now. I know several other methods to achieve select field dynamic data however non of them include crafting PHP directly to the theme file. Your voice is calm and prevents me from getting frustrated when I make a mistake. LMAO You should craft more videos around all the other PHP files you have in your Child Theme.
Love everytime your Videos about Dynamic Data, because its focused and gives me always different new aspects of working with Bricks =)
How to map the Select, Checkbox and Radio field in Bricksforge - Pro Forms? I can map it when it is taxonomy, but when it is metafield I cannot map it to the edit form.