| 1 |
<?php |
| 2 |
|
| 3 |
namespace Give\DonationForms; |
| 4 |
|
| 5 |
use Give\Helpers\Language; |
| 6 |
|
| 7 |
/** |
| 8 |
* @since 3.22.0 Add locale support |
| 9 |
* @since 3.15.0 |
| 10 |
*/ |
| 11 |
class DonationFormsAdminPage |
| 12 |
{ |
| 13 |
/** |
| 14 |
* @since 4.0.0 Remove logic to add the "Add Form" menu item |
| 15 |
* @since 3.15.0 |
| 16 |
*/ |
| 17 |
public function addFormSubmenuLink() |
| 18 |
{ |
| 19 |
remove_submenu_page('edit.php?post_type=give_forms', 'post-new.php?post_type=give_forms'); |
| 20 |
} |
| 21 |
} |
| 22 |
|