I want to basically override a plugin class function in my Wordpress functions.php. I want to give access to the editor for the plugin settings. is there any way? because it has a constructor function. will be very thankful.

**Plugin code**

```
class BulkImport
{

    function __construct()
    {

        add_action("admin_menu", array($this, 'menu'));

    }

    function menu()
    {
        add_submenu_page('edit.php?post_type=wpdmpro', __( "Bulk Import &lsaquo; Download Manager" , "download-manager" ), __( "Bulk Import" , "download-manager" ), WPDM_MENU_ACCESS_CAP, 'importable-files', array($this, 'UI'));
    }
}

```

I want to replace the `WPDM_MENU_ACCESS_CAP` to `edit_pages`

Thanks.