yan-k
5/24/2016 - 12:10 PM

Set Debug Builder mode for Admins

Set Debug Builder mode for Admins

<?php

/**
 * Set Avia Builder to Debug Mode for Admins
 */
if ( current_user_can( 'manage_options' ) ) {
	add_action('avia_builder_mode', "builder_set_debug");
}
function builder_set_debug() {
	return "debug";
}