Closed shohag121 closed 1 month ago
The recent updates focus on modifying the behavior of specific hooks within the Dokan plugin's template files. The apply_filters
function calls have been replaced with do_action
for hooks related to store and vendor information displays. This change affects how these hooks execute associated actions, potentially impacting customizations and extensions relying on these hooks.
File Path | Change Summary |
---|---|
.../templates/store-header.php |
Changed apply_filters to do_action for the dokan_store_header_after_store_name hook. |
.../templates/store-lists-loop.php |
Changed apply_filters to do_action for the dokan_store_list_loop_after_store_name hook. |
.../templates/vendor-store-info.php |
Changed apply_filters to do_action for the dokan_product_single_after_store_name hook. |
🐰 In the code where actions play, Filters changed, they went away. Hooks now dance and take their stance, Enhancing stores with every chance. CodeRabbit cheers, with joy so bright, For cleaner code that feels just right! 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All Submissions:
Changes proposed in this Pull Request:
Related Pull Request(s)
Closes
How to test the changes in this Pull Request:
Changelog entry
no changelog is needed.
Before Changes
Describe the issue before changes with screenshots(s).
After Changes
Describe the issue after changes with screenshot(s).
Feature Video (optional)
Link of detailed video if this PR is for a feature.
PR Self Review Checklist:
FOR PR REVIEWER ONLY:
Summary by CodeRabbit
apply_filters
todo_action
for improved consistency and performance in the store header, store lists loop, and vendor store info sections.