• It is not reflected when setting the clone.
    But it’s documented in the source code.

    Customize and set initial values.

    Illustrated in the image below.

    https://www.keizu-studio.com/wp-content/uploads/2022/12/ac0bb4a1ad01bb0c1d8eeebd92dc0de7-scaled.jpg

    I am pressing set initial value with custom code.

    `function my_func($attrs, $_meta, $_ptype, $_index)
    {
    $ks_valle = ‘test’;
    $attrs = ‘ name=”‘. esc_attr($_meta[“name”] . $_index) .’” data-fkey=”‘. $_meta[“key”] .’” ‘. $placeholder .’ data-mandatory=”‘ . $_meta[“required”] . ‘” ‘. $_readonly .’ data-field-type=”‘. $_meta[“type”] .’” autocomplete=”off” readonly value=”‘.$ks_valle.’” ‘;

    return $attrs;
    }
    add_filter(‘wccpf_before_preparing_common_attrs’, ‘my_func’, 10, 4);

The topic ‘Bug report’ is closed to new replies.