Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Note _1 should be changed to the ID of your form
- add_action("gform_after_submission_1", "get_post_content", 10, 2);
- function get_post_content($entry, $form){
- // Get the post
- $post = get_post($entry["post_id"]);
- // Show all submitted files as an array
- print_r( $post );
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement