Support

Account

Home Forums Gutenberg no_fields_assigned_message: add block title?

Unread

no_fields_assigned_message: add block title?

  • This is what I am using below. Is there a method to insert the block title?

    add_filter ('acf/blocks/no_fields_assigned_message', 'no_fields_message', 10, 2);
    function no_fields_message($message) {
      $message = __('<h3>Theme Block</h3>There are no settings for this block.', 'acf');
    	return $message;
    }
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.