Hello, Rana,
I hope this message finds you well.
I am writing to explain the reasons behind the necessity of certain functions in our system, which are crucial for maintaining compatibility and functionality. These include:
1. wc_format_content: This function is essential for the operation of the “woocommerce_format_content” filter. It is a core part of WooCommerce plugin compatibility and cannot be removed without affecting the overall infrastructure.
2. wp_kses_post: This WordPress function is necessary for the correct display and sanitization of HTML data. Removing this function could lead to significant issues with WordPress itself.
We understand that these constraints might not align with every use case, and we appreciate your understanding of why these elements will not be included in the upcoming updates.
However, you have the option to disable these functions locally. To do this, please edit the following file:
xstore-core/app/controllers/elementor/theme-builder/woocommerce/archive/archive-description.php
You will need to replace the existing code
echo '<div class="term-description">' . wc_format_content( wp_kses_post( $term_description ) ) . '</div>';
with the code provided below
echo '<div class="term-description">' . $term_description . '</div>';
This adjustment should resolve your issue.
If you are unable to make these changes yourself, please send us your FTP and admin panel credentials, and we will make the necessary modifications for you.
Thank you for your understanding and cooperation. Should you have any further questions or require additional assistance, please do not hesitate to contact us.
Best Regards,
8Theme’s Team