add_filter( 'simple_page_ordering_limit', function($number) { return 5; } );
This example uses PHP 5.3+ callback functions, so if you’re still on
PHP 5.2, you’ll need to add a traditional callback.
Can someone help to convert it to traditional callback ?
It uses an anonymous function which is obviously not supported. You can do it like this;