How to pull and auto display custom fields values to contact form

May be try like this: foreach( $post_ids->posts as $id): // get the post title, and apply any filters which plugins may have added // (get_the_title returns unfiltered value) $name[] = apply_filters(‘the_title’, get_the_title($id)); $lname[] = get_post_meta($id, ‘last_name’, TRUE); $address[] = get_post_meta($id, ‘address’, TRUE); $cinfo[] = get_post_meta($id, ‘contact_info’, TRUE); endforeach; $data = [‘fname’=>$name, ‘lname’=>$lname, ‘address’=>$address, ‘cinfo’=>$cinfo]; <script> … Read more

Contact form db plugin customization

Use the remove_submenu_page function to remove the shortcode menu. Pass the parent menu’s slug and the submenu’s slug as arguments to this function. Paste the following in your theme’s functions.php file. add_action( ‘admin_menu’, ‘remove_short_code_menu’ ); function remove_short_code_menu() { remove_submenu_page( ‘CF7DBPluginSubmissions’, // $parent_menu_slug ‘CF7DBPluginShortCodeBuilder’ // $submenu_slug ); }