presswerk
asked 8 years ago

Hi there,
 
Q&A is auto creating some Categorys with title “Question”.
If i delete that garbage it hows up days later again.
How to solve that error?
 
 
THX !
See Screen

1 Answers
Kevin
answered 8 years ago

Hi,

Please go to wp-content/plugins/dw-question-answer/inc/Posts/Question.php then remove the code below around line 259 to 267.

$cats = get_categories( array(
	'type'                     => $this->get_slug(),
	'hide_empty'               => 0,
	'taxonomy'                 => $this->get_slug() . '_category',
) );

if ( empty( $cats ) ) {
	wp_insert_term( __( 'Questions', 'dwqa' ), $this->get_slug() . '_category' );
}
Powered by DW Question & Answer Pro