Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8790483
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:40:05+00:00 2026-06-13T22:40:05+00:00

I want that submission from CF7 automatically gets posted to Post or a Page

  • 0

I want that submission from CF7 automatically gets posted to “Post” or a “Page” on my site.

I saw that it is necessary to add some action hook but I do not have the skills to do that? Can someone help me out please?

Thank you!

edit: I could do it with Blog_by_Email service (which sends submission to some email and then make a post automatically), but I need user id on the post.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T22:40:07+00:00Added an answer on June 13, 2026 at 10:40 pm

    You can use the wp_insert_post to do this

      //sample code
     if(isset($_POST['submit_button'])){
      $my_post = array(
        'post_title' => $_POST['title'],
        'post_date' => date("Y-m-d H:i:s"),
        'post_content' => $_POST['description'],
        'post_status' => 'pending',
        'post_type' => 'post',
        'post_author' => $user_id
        );
     $the_post_id = wp_insert_post( $my_post );
    }
    

    for more info about wp_insert_post visit this page http://codex.wordpress.org/Function_Reference/wp_insert_post

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i want to pass a string from an input box that after submition automatically
I want that everytime someone wants to checkout the project from SVN he/she will
I want to close a popup window from an error page. The process is:
I've created a command line tool that parses JSON from reddit's front page. After
I want to pick all directory URLs from this site . I did the
In my Manager controller's add action I want to intercept the form submission, perform
I want to add share this on Facebook to a page. I've got this
I want that whenever the user types http://localhost:8280/services/Facebook/sea the actual request should be http://localhost:8280/services/Facebook/search?q=jack
I want that my application (a WPF Window ) is launched on Windows startup.
I want that screenCheck function show run only after Validation of #contact_email . But

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.