hi everyone,
i have no idea how can i redirect to some page after publishing the post.
Basically what i am trying to do is. i have created a plugin to make multiple post when selecting to multiple category. it actually created different multiple post when selected to multiple category and now after created the multiple post i want to list those post with ability to edit the custom meta of the post.
her e is the code m using
add_action('publish_post', 'id_publish_hook');
function id_publish_hook($post_ID) {
// running some query her
// trigeting the function
wp_custom_listby_kds($count);
}
function wp_custom_listby_kds($no){
//here i want to created a page and redirect to that admin page with the value $no
}
any help will be appreciate thanks in advance