Fixed Add/edit route's "Link building callback" does not contain the function prototype

Affected version
2.1.1

Xon

Well-known member
In most cases (especially in the development section), when Xenforo lists a php callback as an option the function prototype is included.

Also the routing format could do with some syntax examples for conditional vs required route parameters
 

Chris D

XenForo developer
Staff member
Added some additional text about the link building callback arguments. I feel like some of this is better handled in the developer documentation though, especially the route format stuff which likely can't be fully documented in a few lines of small text.

But, either way, the callback information has been added and we'll continue to develop the documentation. (Pull requests welcome!)
 
  • Like
Reactions: Xon

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XF release (2.1.2).

Change log:
Add some additional explain text about the link building callback detailing the expected arguments.
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Top