public static function GetCustomWritePanelGenericUrl($mfAction, $customWritePanelId = null)
{
if (empty($customWritePanelId) && isset($_REQUEST['custom-write-panel-id'])) {
$customWritePanelId = $_REQUEST['custom-write-panel-id'];
}
if (!empty($customWritePanelId)) {
$url = RCCWP_ManagementPage::GetPanelPage() . "&custom-write-panel-id={$customWritePanelId}&mf_action={$mfAction}";
} else {
$url = RCCWP_ManagementPage::GetPanelPage() . "&mf_action={$mfAction}";
}
return $url;
}