WordPress Actions and Filters add_action - init - anonymous function


Example

add_action('init' , function(){
    echo 'i did something';
});