Dashboard Contact Form

Yes. You can do this by adding a dashboard widget with a contact form function that uses AJAX to submit the form. function myplugin_dashboard_widget() { ajax_contact_form(); } function myplugin_add_dashboard_widgets() { wp_add_dashboard_widget(‘myplugin_contact_widget’, ‘My Plugin Contact Form’, ‘myplugin_dashboard_widget’); } add_action(‘wp_dashboard_setup’, ‘myplugin_add_dashboard_widgets’ );

Get value from db for custom contact form

Add this at the start of your process.php file to get access to get_option and other wordpress functions: define( ‘WP_USE_THEMES’, false ); require(‘wp-blog-header.php’); You might have to change the path to wp-blog-header.php.