You appear to be a bot. Output may be restricted
Description
Check for a new opt-in via the admin notice
Usage
$void = EDD_Tracking::check_for_optout( $data );
Parameters
- $data
- ( mixed ) required –
Returns
void
Source
File name: easy-digital-downloads/includes/admin/tracking.php
Lines:
1 to 9 of 9
public function check_for_optout( $data ) { if ( ! current_user_can( 'manage_options' ) ) { return; } edd_delete_option( 'allow_tracking' ); update_option( 'edd_tracking_notice', '1' ); wp_redirect( remove_query_arg( 'edd_action' ) ); exit; }