# give/4.18.0/src/DonationForms/DonationFormsAdminPage.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.18.0. 22 lines.

- Page: https://pluginprobe.com/plugins/give/4.18.0/code/src/DonationForms/DonationFormsAdminPage.php
- Raw: https://pluginprobe.com/plugins/give/4.18.0/raw/src/DonationForms/DonationFormsAdminPage.php
- Modified: 2025-03-31T19:17:16+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.18.0/code/src/DonationForms/DonationFormsAdminPage.php#L10-L20`.

```php
<?php

namespace Give\DonationForms;

use Give\Helpers\Language;

/**
 * @since 3.22.0 Add locale support
 * @since 3.15.0
 */
class DonationFormsAdminPage
{
    /**
     * @since 4.0.0 Remove logic to add the "Add Form" menu item
     * @since 3.15.0
     */
    public function addFormSubmenuLink()
    {
        remove_submenu_page('edit.php?post_type=give_forms', 'post-new.php?post_type=give_forms');
    }
}

```
