Need Help For Realia Real Estate plugin with CMB2, added custom field using function.php showing to backend but not in frontend

Question
add_action( 'cmb2_meta_boxes', 'custom_fields' );

function custom_fields( array $metaboxes ) {
    $metaboxes[REALIA_PROPERTY_PREFIX . 'general']['fields'][] = array(
        'id'    => REALIA_PROPERTY_PREFIX . 'custom_field33',
        'name'  => 'Field title',
        'type'  => 'text','position' => 2,

        'show_names'    => true,
        'on_front' => true,
    );

    return $metaboxes;
}
0
, androsk 3 years 2020-06-04T02:10:29-05:00 0 Answers 97 views 0

Leave an answer

Browse
Browse