Support

Account

Home Forums Gutenberg no_fields_assigned_message Reply To: no_fields_assigned_message

  • For anyone who passes this way;

    add_filter ('acf/blocks/no_fields_assigned_message', 'no_fields_message', 10, 2);
    
    function no_fields_message($message, $block_name) {
    
           if ($block_name === "acf/my-block") {
               $message = "Nothing to see here, please move along";
           }
    
        return $message;
    
    }