add_action anonymous callback function
-
$output = 'freak'; if (!empty($output)) add_action('wp_head', function() { echo $output; });
The anonymous callback function with the add_action makes my site die, erm white screen death.
Anyone familiar with this functionality know what the problem would be?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘add_action anonymous callback function’ is closed to new replies.