Filters the display order for tools within permission tabs.
Lower numbers appear first within a group. Unknown tools keep their relative registration order after known tools in that group.
add_filter( 'ai_assistant_tool_order', function( array<string,int> $tool_order ) { // Your code here. return $tool_order; } );
array<string,int>
$tool_order
apply_filters('ai_assistant_tool_order', $tool_order)
← All Hooks
There was an error while loading. Please reload this page.