There are times you may want your WordPress page templates to behave differently depending on whether or not a page builder has been enabled on it. For example, I built out a custom page template for a client that had content that was populated via custom fields, but also space for whatever was in the default WordPress editor.
For some reason, this was a chore to find, but here you go:
Code language: PHP (php)
if(et_core_is_builder_used_on_current_request()): // do some stuff endif;