PHP object output buffer

1
2
3
4
ob_start();
wp_nav_menu($defaults);
$output = ob_get_contents();
ob_end_clean();
Comments