Problem Description:
The “Hide Parent” option has been activated in the Woodmart Theme to hide parent articles/products in the frontend. While this functionality works as intended in the frontend, an undesired side effect has been identified:
The activated “Hide Parent” option also blocks API access in the backend. As a result, the parent articles/products are also hidden in the WordPress REST API, which impacts backend functionality.
Technical Details:
– Theme: Woodmart
– Affected Feature: Hide Parent Option
– Impact: Blocking of WordPress REST API for parent products
– Backend Integration: Active API usage for product management
Desired Behavior:
The “Hide Parent” option should exclusively influence frontend behavior and control visibility in the shop. The WordPress REST API should maintain full access to all products, including parent products, to ensure proper backend functionality.
Question:
Is there a way to modify the “Hide Parent” function so that it only affects frontend behavior while maintaining unrestricted API functionality in the backend?
Please review and provide suggestions for resolving this issue.