Help with website RRS feed

  • Question

  • Hi,

    I added a custom admin area on my WordPress area that says " Contact Support" , I want when users click it , it will be either a popover or a drop down and it shows an form which will get emailed to my support email. What do I need to do make this work? This will be configured via a php plugin. Below is what I have so far

    Plugin Name: Admin Bar
    Plugin URI: https://hgrantdesigns.com
    Description: Modifies the WordPress admin bar
    Version: 1.0
    Author: H Grant Designs	
    Author URI: https://hgrantdesigns.com
    License: H Grant Designs
    // update toolbar
    function update_adminbar($wp_adminbar) {
      // add SitePoint menu item
        'id' => 'hgrantdesigns',
        'title' => '<span class="ab-icon dashicons dashicons-carrot"></span>' . _( 'Contact Support' ),
        'href' => 'https://hgrantdesigns.com/contact',
        'meta' => [
          'target' => 'sitepoint'
    // admin_bar_menu hook
    add_action('admin_bar_menu', 'update_adminbar', 999);

    Monday, June 17, 2019 2:30 AM

All replies

  • Hi HGrantDesigns,

    Welcome to the MSDN forum.

    According to your description, this issue is about the PHP development and our forum is to discuss the VS IDE, please redirect to this appropriate forum: https://stackoverflow.com/questions/tagged/php with 'php' tag for better support, thanks for your understanding.

    Best regards,


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Monday, June 17, 2019 9:14 AM