Advanced_Product_Review
Class Advanced_Product_Review
Source
File: includes/modules/woocommerce_booster/advanced_product_review/advanced_product_review.php
Expand full source code Collapse full source code View on Github
Methods
- add_hooks — Register these hooks only for single product pages.
- add_review_from_nonce — Add a nonce field to the review form.
- add_review_title_meta — Saves the review title if set.
- add_title_field_on_comment_form — Add a new input field for adding title to a review.
- anonymize_author_name — Process the comment author for product reviews.
- change_comment_form — Modify review comment form.
- display_attachments — Display the attachments thumbnails for review.
- display_comment_title — Will display the review title if available.
- display_upvote — Display the upvote section for review.
- get_advanced_review_settings — Defines additional settings for Woocommerce product settings.
- get_review_section_end_key — Returns the review section end index.
- init — Register class hooks and init options.
- insert_attachment — Upload the file as media.
- register_assets — Register styles and script assets
- register_vote_endpoints — Register endpoint for review voting
- render_modal — Quick view modal markup
- save_attachments — Method to save attachments if they are present.
- update_voted_status — Method to update current user review votes.
- upvote_action — Ajax method to upvote a review.
- woocommerce_settings_products_filter — Filter Woocommerce settings and add our own settings.
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |