insert elementor custom template request error
-
After adding the new function update in Elementor, I am getting a “Request Error” when trying to insert a custom template. How can I solve this? 3.25.3private function should_check_permissions( array $args ): bool { if ( null === $this->elementor_adapter ) { $this->set_elementor_adapter( new Elementor_Adapter() ); } // TODO: Remove $isWidgetTemplate in 3.28.0 as there is a Pro dependency $check_permissions = isset( $args[’check_permissions’] ) && false === $args[’check_permissions’]; $is_widget_template = ‘widget’ === $this->elementor_adapter->get_template_type( $args[’template_id’] ); if ( $check_permissions || $is_widget_template ) { return false; } return true; }
The topic ‘insert elementor custom template request error’ is closed to new replies.