175,
'phone_support' => 250,
'plugin_config' => 200,
'theme_config' => 350,
'linux_config' => 450
);
/**
* Config
*/
private $_config = null;
function __construct() {
$this->_config = Dispatcher::config();
}
/**
* Runs plugin
*/
function run() {
if ( Util_Admin::get_current_wp_page() == 'w3tc_dashboard' )
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue' ) );
$this->_json_request_types = array(
'email_support' => sprintf( __( 'Less than 15 Minute Email Support Response %s', 'w3-total-cache' ), '(M-F 9AM - 5PM EDT): $175 USD' ),
'phone_support' => sprintf( __( 'Less than 15 Minute Phone Support Response %s', 'w3-total-cache' ), '(M-F 9AM - 5PM EDT): $250 USD' ),
'plugin_config' => sprintf( __( 'Professional Plugin Configuration %s', 'w3-total-cache' ), 'Starting @ $200 USD' ),
'theme_config' => sprintf( __( 'Theme Performance Optimization & Plugin Configuration %s', 'w3-total-cache' ), 'Starting @ $350 USD' ),
'linux_config' => sprintf( __( 'Linux Server Optimization & Plugin Configuration %s', 'w3-total-cache' ), 'Starting @ $450 USD' )
);
$this->_request_types = array(
'email_support' => sprintf( __( 'Less than 15 Minute Email Support Response %s', 'w3-total-cache' ), '
(M-F 9AM - 5PM EDT): $175 USD' ),
'phone_support' => sprintf( __( 'Less than 15 Minute Phone Support Response %s', 'w3-total-cache' ), '
(M-F 9AM - 5PM EDT): $250 USD' ),
'plugin_config' => sprintf( __( 'Professional Plugin Configuration %s', 'w3-total-cache' ), '
Starting @ $200 USD' ),
'theme_config' => sprintf( __( 'Theme Performance Optimization & Plugin Configuration %s', 'w3-total-cache' ), '
Starting @ $350 USD' ),
'linux_config' => sprintf( __( 'Linux Server Optimization & Plugin Configuration %s', 'w3-total-cache' ), '
Starting @ $450 USD' )
);
add_action( 'w3tc_widget_setup', array(
$this,
'wp_dashboard_setup'
) );
add_action( 'w3tc_network_dashboard_setup', array(
$this,
'wp_dashboard_setup'
) );
if ( is_admin() ) {
add_action( 'wp_ajax_w3tc_action_payment_code', array( $this, 'action_payment_code' ) );
}
}
/**
* Dashboard setup action
*
* @return void
*/
function wp_dashboard_setup() {
Util_Widget::add( 'w3tc_services',
'