Disallow manual page creation in pages section

Hi there!

I have a pages section of user sub-pages that get created via a hook once a new user is created. Obviously I don’t want anyone to add a page manually to this section, as it would mess things up. Is there a way to disable the Add button entirely? I cannot set max to 0 (or, I can, but it gets ignored) and when I set it to 1 or something and add more pages via the hook, the section gets highlighted in a red glow (probably indicating that there are too many pages added?), which really stresses me out. :wink:

Any way to disabling the manual adding of pages?

Thanks!

create: false ?

:man_facepalming:

Well, I saw the create property in the docs, and was trying to set it to an empty array. Well, little did I know that I can just set it to false. Thanks!