In my add-on I would like to get the value of the max allowed attachment width. I have tried the following but doesn't work:
Edit: That is the correct code.
PHP:
$attachmentMaxDimensions = XenForo_Application::get('options')->attachmentMaxDimensions['width'];
Edit: That is the correct code.
Last edited: