Thank you kindly! We have updated the plugin and our code and it is, in fact, working! However, we are getting the following php Warnings:
First, with meta-box-group 1.01 installed and the filter added, the following warning is displayed on the edit page where the clone-able meta-boxes are installed:
Warning: Missing argument 1 for RWMB_Group_Field::add_clone_button() in .../wp-content/plugins/meta-box-group/class-rwmb-group-field.php on line 140 Notice: Undefined variable: field in .../wp-content/plugins/meta-box-group/class-rwmb-group-field.php on line 142
Fix:
We fixed this by making the following change to the add_clone_button function:
static function add_clone_button( $field = '' ){
$text = apply_filters( 'rwmb_group_add_clone_button_text', __( '+ Add more', 'meta-box-group' ), $field );
return "<a href='#'' class='rwmb-button button-primary add-clone'>".$text."</a>";
}
Next, with the meta-box-group plugin de-activated, we are seeing the following php warnings in all pages of the dashboard:
Warning: call_user_func() expects parameter 1 to be a valid callback, first array member is not a valid class name or object in .../wp-content/plugins/meta-box/inc/meta-box.php on line 402 Warning: call_user_func() expects parameter 1 to be a valid callback, first array member is not a valid class name or object in .../wp-content/plugins/meta-box/inc/meta-box.php on line 80
will we also need to update the meta-box plugin as well?