![]() Server : Apache/2.4.52 (Ubuntu) System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64 User : www-data ( 33) PHP Version : 8.1.2-1ubuntu2.21 Disable Function : NONE Directory : /var/www/theprintave/wp-content/plugins/mailchimp-for-wp/includes/forms/ |
<?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; }