• Differ

    (@differ776734)


    The code insert the form in the database,but do not output in the form field.

    
    $post_data = array( 
    'post_title' => 'Contact Form', 
    'post_content' => '[email email-231]', 
    'post_status' => 'publish', 
    'comment_status' => 'closed', 
    ' post_type'=> 'wpcf7_contact_form', 
    ); 
    $post_id = wp_insert_post( $post_data );
    
  • The topic ‘Demo Install ( Import data to cf7 )’ is closed to new replies.