0

So, i've got a bunch of code calculating a few things resulting into a simple echo

echo $confirmation;

There is just one thing I want to do; I want to send the $confirmation to an RSS feed. Any ideas?

0

Okay, I created a post of the confirmation which puts it in the RSS feed automagically.

$my_post = array(
'post_title'    => 'My post',
'post_content'  => $confirmation,
'post_status'   => 'publish',
'post_author'   => $user_id,
'post_category' => array(8,39)
);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.