• Resolved Younes

    (@vanbom)


    Hi,

    I’m reaching out because I’m currently working on customizing the Paid Memberships Pro plugin for a project, and I’ve encountered a requirement to add a custom submenu under the “Settings” menu in the WordPress admin area.

    After reviewing the plugin files, specifically:
    wp-content\plugins\paid-memberships-pro\adminpages\admin_header.php, I noticed that there’s no do_action hook available for me to easily add my custom submenu.

    If you could provide any advice, documentation, or code snippets to help me accomplish this task, it would be greatly appreciated. Alternatively, if there’s a plan to include such a feature in a future update of the plugin, I would love to hear about it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Jarryd Long

    (@jarryd-long)

    Hi there, thank you for reaching out to Paid Memberships Pro.

    We don’t have any hooks available in this menu. We recommend that custom integrations hook into the Advanced tab and create their own meta box from there.

    You can hook into the pmpro_membership_level_before_billing_information and create a container that contains the pmpro_section CSS class for it to be styled correctly.

    Kind Regards,
    Jarryd
    Support Manager at Paid Memberships Pro

    Thread Starter Younes

    (@vanbom)

    hello Jarry,
    Thank you for the info
    I opted to insert submenu under MemberShips main menu

    Plugin Support Jarryd Long

    (@jarryd-long)

    I’m so glad to hear you’ve found a workaround for this. Feel free to reach out if there’s anything else we can assist with.

    Kind Regards,
    Jarryd
    Support Manager at Paid Memberships Pro

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding Custom Submenu in PMPro Settings’ is closed to new replies.