403Webshell
Server IP : 34.67.85.211  /  Your IP : 216.73.217.52
Web Server : Apache
System : Linux wordpress-1-vm 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64
User : root ( 0)
PHP Version : 7.4.9
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/html/wp-content/plugins/mailchimp-for-wp/includes/forms/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/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;
}

/**
 * @param        $key
 * @param        $label
 * @param        $value
 * @param string $help_text
 *
 * @return string
 */
//function mc4wp_form_message_setting_row( $key, $label, $value = '', $help_text = '' ) {
//
//
//	$id = 'mc4wp_form_message_' . $key;
//	echo $name = sprintf( 'mc4wp_form[messages][%s]', $key );
//
//	echo '<tr valign="top">';
//
//	# Label
//	echo '<th scope="row">';
//	echo sprintf( '<label for="%s">%s</label>', $id, $label );
//	echo '</th>';
//
//	# Input
//	echo '<td>';
//	echo sprintf( '<input type="text" class="widefat" id="%s" name="%s" value="%s" />', $id, $name, esc_attr( $value ) );
//
//	# Help text
//	if( ! empty( $help_text ) ) {
//		echo sprintf( '<p class="help">%s</p>', $help_text );
//	}
//
//	echo '</td>';
//	echo '</tr>';
//
//	return '';
//}

Youez - 2016 - github.com/yon3zu
LinuXploit