APP_Review_Comments

Review comments class


Package


    Description Description

    Abstract helper class that hooks into WP comments to trigger actions or filters on a specific custom comment type


    Top ↑

    Methods Methods

    • auto_approve — Ignore WordPress discussion settings for this comment type and approve the comment based on the 'auto_aprove' property
    • exclude_from_comment_count — Strip out custom comment type from the comment counters
    • init — Sets up the extended comments class
    • intercept_comment_query — Strip out the custom comment type from the comment front-end loopin case theme doesn't filter via wp_list_comments( array('type' => 'comment') )
    • process_comment — Process the comment once submitted
    • set_comment_link — Replace the default comment hash link with the custom comment type
    Premium WordPress Apps

    Top ↑

    User Contributed Notes User Contributed Notes

    You must log in before being able to contribute a note or feedback.