1

In your code, you add the filter like this: add_action( 'restrict_manage_posts', array( $this, 'restrict_log_posts' ) ); Which adds a function that starts like this: public function restrict_log_posts() { $type = 'wp_log'; $taxonomy = 'wp_log_type'; // only add filter to post type you want if ( isset( $_GET['post_type'] ) && ...


Only top voted, non community-wiki answers of a minimum length are eligible