Support

Account

Home Forums General Issues Hiding a field on the admin screen Reply To: Hiding a field on the admin screen

  • Thanks in my case i us it for token field in a repeater.
    The field is show only the fisrt time

    function hide_token_field($field) {
    if($field[‘value’]){
    return false;
    }else{
    return $field;
    }
    }
    add_filter(“acf/prepare_field/name=token”, “hide_token_field”);