<td>
					<input placeholder="instagram.com/handle" id="organization_instagram" type="text" class="regular-text" name="organization_instagram" value="<?php 
echo $organization_instagram;
?>
" />
				</td>
			</tr>

		</tbody>
	</table>
	<br/><br/>


	<p>
		<?php 
echo EE_PUE::espresso_data_collection_optin_text(FALSE);
?>
	</p>

	<table class="form-table">
		<tbody>

			<tr>
				<th>
					<label for="ueip_optin">
						<?php 
_e('UXIP Opt In?', 'event_espresso');
?>
 
					</label>
				</th>
Esempio n. 2
0
    function espresso_data_collection_optin_notice()
    {
        $ueip_has_notified = EE_Registry::instance()->CFG->core->ee_ueip_has_notified;
        if ($ueip_has_notified) {
            return;
        }
        $settings_url = EE_Admin_Page::add_query_args_and_nonce(array('action' => 'default'), admin_url('admin.php?page=espresso_general_settings'));
        $settings_url = $settings_url . '#UXIP_settings';
        ?>
		<div class="updated data-collect-optin" id="espresso-data-collect-optin-container">
			<div id="data-collect-optin-options-container">
				<span class="dashicons dashicons-admin-site"></span>
				<span class="data-optin-text"><?php 
        echo EE_PUE::espresso_data_collection_optin_text();
        ?>
</span>
				<span style="display: none" id="data-optin-nonce"><?php 
        echo wp_create_nonce('ee-data-optin');
        ?>
</span>
				<button class="button-secondary data-optin-button" value="no"><?php 
        _e('Dismiss', 'event_espresso');
        ?>
</button>
				<!--<button class="button-primary data-optin-button" value="yes"><?php 
        _e('Yes! I\'m In', 'event_espresso');
        ?>
</button>-->
				<div style="clear:both"></div>
			</div>
		</div>
		<?php 
    }