PHP Output Control

PHP Output Control


There are times when you need to control the PHP output buffer. Shortcodes are a good example of when you want to capture the buffer and return it to WordPress instead of sending it out to the browser. In this hands-on lab, you will dive into the functionality available to you for the PHP output control. In this hands-on lab, we’ll take a different approach to introduce you to the PHP output buffer. I’ll show you how to use it for typical use cases you’ll have in your projects: