I just was wondering why people do something like :
function world_func() {
return 'world';
}
add_action('hello',world_func);
Instead of :
add_action('hello',function(){
return 'world';
});
I see many functions are not re-useable (unique)
Why? What's different? Performance? This is bad ?