How to create a functions.php in child theme? [closed]
You need to remove the space between <? and php at the very start of your file. Incorrect: <? php add_action(‘iphorm_post_process_1’, ‘mytheme_create_wp_post’, 10, 1); function mytheme_create_wp_post($form) { Correct: <?php add_action(‘iphorm_post_process_1’, ‘mytheme_create_wp_post’, 10, 1); function mytheme_create_wp_post($form) { This is causing a simple syntax error.