fixed redirection preventing to edit in divi builder mode
This commit is contained in:
@@ -45,6 +45,10 @@ function payment_page_redirects_CIPF() {
|
||||
$slug_paypal_page = PLGNTLS_class::SLUG_PAYPAL_PAGE;
|
||||
$role_prof = PLGNTLS_class::ROLE_PROF;
|
||||
|
||||
// don't redirect if it is the divi builder mode
|
||||
if (et_fb_is_enabled) {
|
||||
return;
|
||||
}
|
||||
// check the slug
|
||||
if (!is_page($slug_paypal_page)) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user