How to make a dynamic rss feed in wordpress using add_query_arg?


First of all, I apologize if my English is bad.

I have a small impasse, I need to redeem an rss from a partner domain whose address is:

At this address, the CourseId is a single piece of information that will change according to the information that the user adds in a field that I created in the wordpress panel. I added a code to my file to get the field information and format the link. It stayed like that.

<?php echo add_query_arg( array( 'courseId' => $un_rss, 'action=investment' => ' ' ), ''); ?>

It’s working, but now I need to know how to bring the wordpress rss feed to that address, would anyone have a light for me?

Lucas Gomes 2 weeks 2021-04-02T13:26:10-05:00 0 Answers 0 views 0

Leave an answer