WordPress.org

Forums

Document Feedback
Does what it says. (2 posts)

  1. Syed Balkhi
    Member
    Posted 2 years 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 2 years 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

  • Document Feedback
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.