Disable description field on ask question form
How to delete / disable the description field on ask question forms. If the questions is short then it becomes redundant for user to type it twice.
I found the code snippet on deprecated.php that maybe relevant with it ap_get_ask_form_fields()
If it’s the correct code, could you tell me how to override it ?. Thanks
Question is closed for new answers.
bluebeach2010 selected answer
Hello,
You have to use ap_question_form_fields hook to filter question fields. Then just
unset( $form[’fields’][’post_content’] );
bluebeach2010 selected as best answer