# cartflows/1.0.4/includes/admin/cartflows-general.php

CartFlows – Funnel Builder &amp; Checkout Plugin for WooCommerce, version 1.0.4. 128 lines.

- Page: https://pluginprobe.com/plugins/cartflows/1.0.4/code/includes/admin/cartflows-general.php
- Raw: https://pluginprobe.com/plugins/cartflows/1.0.4/raw/includes/admin/cartflows-general.php
- Modified: 2018-11-30T13:26:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/cartflows/1.0.4/code/includes/admin/cartflows-general.php#L10-L20`.

```php
<?php
/**
 * General settings
 *
 * @package CartFlows
 */

$settings = Cartflows_Helper::get_common_settings();

?>

<form method="post" class="wrap wcf-clear" action="" >
<div class="wrap wcf-addon-wrap wcf-clear wcf-container">
	<input type="hidden" name="action" value="wcf_save_common_settings">
	<h1 class="screen-reader-text"><?php _e( 'General Settings', 'cartflows' ); ?></h1>

	<div id="poststuff">
		<div id="post-body" class="columns-2">
			<div id="post-body-content">
				<div class="postbox introduction">
					<h2 class="hndle wcf-normal-cusror ui-sortable-handle">
						<span><?php _e( 'Getting Started', 'cartflows' ); ?></span>
					</h2>
					<div class="inside">
						<div class="iframe-wrap">
							<iframe width="560" height="315" src="https://www.youtube.com/embed/SlE0moPKjMY" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
						</div>
						<p>
						<?php
							esc_attr_e( 'Modernizing WordPress eCommerce!', 'cartflows' );
						?>
						</p>
					</div>
				</div>

				<div class="general-settings-form postbox">
					<h2 class="hndle wcf-normal-cusror ui-sortable-handle">
						<span><?php _e( 'General Settings', 'cartflows' ); ?></span>
					</h2>
					<div class="inside">
						<div class="form-wrap">
							<?php

							do_action( 'cartflows_before_settings_fields', $settings );

							echo Cartflows_Admin_Fields::checkobox_field(
								array(
									'id'    => 'wcf_disallow_indexing',
									'name'  => '_cartflows_common[disallow_indexing]',
									'title' => __( 'Disallow search engines from indexing flows', 'cartflows' ),
									'value' => $settings['disallow_indexing'],
								)
							);
							echo Cartflows_Admin_Fields::flow_checkout_selection_field(
								array(
									'id'    => 'wcf_global_checkout',
									'name'  => '_cartflows_common[global_checkout]',
									'title' => __( 'Global Checkout', 'cartflows' ),
									'value' => $settings['global_checkout'],
								)
							);

							do_action( 'cartflows_after_settings_fields', $settings );

							?>
						</div>
						<?php submit_button( __( 'Save Changes', 'cartflows' ), 'cartflows-common-setting-save-btn button-primary button', 'submit', false ); ?>
						<?php wp_nonce_field( 'cartflows-common-settings', 'cartflows-common-settings-nonce' ); ?>
					</div>
				</div>
			</div>
			<div class="postbox-container" id="postbox-container-1">
				<div id="side-sortables">

					<div class="postbox">
						<h2 class="hndle">
							<span class="dashicons dashicons-book"></span>
							<span><?php esc_html_e( 'Knowledge Base', 'cartflows' ); ?></span>
						</h2>
						<div class="inside">
							<p>
								<?php esc_html_e( 'Not sure how something works? Take a peek at the knowledge base and learn.', 'cartflows' ); ?>
							</p>
							<p>
								<a href="<?php echo esc_url( 'https://cartflows.com/docs' ); ?>" target="_blank" rel="noopener"><?php _e( 'Visit Knowledge Base »', 'cartflows' ); ?></a>
							</p>
						</div>
					</div>

					<div class="postbox">
						<h2 class="hndle">
							<span class="dashicons dashicons-groups"></span>
							<span><?php esc_html_e( 'Community', 'cartflows' ); ?></span>
						</h2>
						<div class="inside">
							<p>
								<?php esc_html_e( 'Join the community of super helpful CartFlows users. Say hello, ask questions, give feedback and help each other!', 'cartflows' ); ?>
							</p>
							<p>
								<a href="<?php echo esc_url( 'https://www.facebook.com/groups/cartflows/' ); ?>" target="_blank" rel="noopener"><?php _e( 'Join Our Facebook Group »', 'cartflows' ); ?></a>
							</p>
						</div>
					</div>

					<div class="postbox">
						<h2 class="hndle">
							<span class="dashicons dashicons-sos"></span>
							<span><?php esc_html_e( 'Five Star Support', 'cartflows' ); ?></span>
						</h2>
						<div class="inside">
							<p>
								<?php esc_html_e( 'Got a question? Get in touch with CartFlows developers. We\'re happy to help!', 'cartflows' ); ?>
							</p>
							<p>
								<a href="<?php echo esc_url( 'https://cartflows.com/contact' ); ?>" target="_blank" rel="noopener"><?php _e( 'Submit a Ticket »', 'cartflows' ); ?></a>
							</p>
						</div>
					</div>

				</div>
			</div>
		</div>
		<!-- /post-body -->
		<br class="clear">
	</div>
</div>
</form>

```
