how to remove feed link

Solved3.64K viewsCore
0

how to remove feed link from wp_head thrue my functions.php?

Question is closed for new answers.
selected answer
0

in file anspress-question-answerincludesclass-theme.php comment out the following code

if ( is_anspress() ) { if ( is_anspress() ) { echo ‘<link href=”‘ . esc_url( home_url( ‘/feed/question-feed’ ) ) . ‘” title=”‘ . esc_attr__( ‘Question Feed’, ‘anspress-question-answer’ ) . ‘” type=”application/rss+xml” rel=”alternate”>’; }

selected as best answer