options['zendesk_enabled'], false ) . '/>Turn on the widget in WP Admin';
}
public function zendesk_id_callback()
{
printf(
' .zendesk.com
Your Zendesk subdomain that you use to login as an agent',
isset( $this->options['zendesk_id'] ) ? esc_attr( $this->options['zendesk_id']) : ''
);
}
public function admin_print_section_info() {
echo '
In order to use this plugin, you will need a Zendesk account with the web widget enabled. You can customize the Zendesk Widget with options like colors, widget placement, etc.
Setup and Customize Zendesk Widget';
}
public function admin_scripts() { ?>
options['zendesk_enabled'] ) || 1 != $this->options['zendesk_enabled'])
exit;
$current_user = wp_get_current_user();
?>