Unyson
Unyson copied to clipboard
Is Visual Editor active function?
Hello, Team! It is not an issue, just a question, is it possible to know in which editor the page was built, on front-end part? e.g. something like that:
// e.g. in /my-theme/page.php
if( is_unyson_visual_editor() ) {
// page was built with Visual Editor
} else {
// page was built with default WordPress editor
}
Thank you so much for your time!
Hello, https://github.com/ThemeFuse/Unyson-PageBuilder-Extension/blob/master/helpers.php