WordPress.org

Ready to get started?Download WordPress

Forums

Document Feedback
Does what it says. (2 posts)

4 stars
  1. Syed Balkhi
    Member
    Posted 1 year ago #

    It does exactly what it says. You can most definitely extend the functionality to a custom post type by applying a filter.

  2. Scott Kingsley Clark
    Member
    Posted 1 year ago #

    You can choose to use more than just pages for post types by adding a filter:

    add_filter( 'document_feedback_post_types', 'add_more_feedback_post_types' );
    function add_more_feedback_post_types ( $post_types ) {
        $post_types[] = 'post';
        $post_types[] = 'another_post_type';
        // ... etc
    
        return $post_types;
    }

    That filter has been there since Dec 2012, but Daniel should probably add that to the FAQ.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.