HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/confeduphaar/www/wp-content/plugins/mailchimp-for-wp/includes/forms/admin-functions.php
<?php

/**
 * Gets the absolute url to edit a form
 *
 * @param int $form_id ID of the form
 * @param string $tab Tab identifier to open
 *
 * @return string
 */
function mc4wp_get_edit_form_url($form_id, $tab = '')
{
    $url = admin_url(sprintf('admin.php?page=mailchimp-for-wp-forms&view=edit-form&form_id=%d', $form_id));

    if (! empty($tab)) {
        $url .= sprintf('&tab=%s', $tab);
    }

    return $url;
}

/**
 * Get absolute URL to create a new form
 *
 * @return string
 */
function mc4wp_get_add_form_url()
{
    $url = admin_url('admin.php?page=mailchimp-for-wp-forms&view=add-form');
    return $url;
}