APP_Bid_Handle
Wrapper class for hooking into WP comments object.
Package
Description Description
Methods Methods
- comment_approved — Triggers the comment status transition when bids are approved.
- comment_status_transition — Custom comment type status changes to update the bid meta.
- comment_unapproved — Triggers the comment status transition when bids are unapproved.
- edit_comment — Handles the posted bid data when editing a bid.
- handle_bid — Handles the posted bid data.
- init — Initializes the class by setting the comment type and some important WP comment hooks
- insert_comment — Handles the posted bid data when posting a new bid.
- redirect — Provides a new hook to allow redirecting the user after a bid
- update_bid_collections — Adds/deletes a bid on the bid collection of the parent post.
- validate_comment — Validates the bid data being posted in case javascript is disabled.