functions – Why is my page feed returning empty content?


I am trying to debug why my page feed with is returning empty.

While debugging I reached till wp-includesfunctions.php

In there the function which was getting called was do_feed_rss2. Now according to the doc if the feed is for comments the $for_commentsflag should be true.

What I observed in my case is it was giving true value and since the page had no comments the feed was returning to be empty.

So I started searching for the do_action call for do_feed_rss2 , thinking that is where the value must be getting set from, but all i could find is this,

enter image description here

Can anybody help me finding why is this $for_comments flag getting set as true?

Thank you.

shellbot97 6 months 2021-06-03T03:50:00-05:00 0 Answers 0 views 0

Leave an answer