![](https://beanscommunity.wpenginepowered.com/wp-content/uploads/beans/images/87c06df13dbd883d6dd9d0cb88e4f1f7-87a1c39.jpg)
Sir can you please tell me how to save the values of custom fields created like this-
add_action( 'admin_init', 'my_function_name' );
function my_function_name() {
$fields = array(
array(
'id' => 'image',
'label' => 'Image',
'type' => 'image',
),
array(
'id' => 'title',
'label' => 'Title',
'type' => 'text',
),
array(
'id' => 'desc',
'label' => 'Description',
'type' => 'textarea'
)
);
beans_register_post_meta( $fields, array( 'page','template-homepage.php' ), 'beans', array( 'title' => 'Metabox title' ) );