403 ) ); } if ( $section === 'acima_credit' ) { $csp_header = 'Content-Security-Policy: ' . "default-src * data: blob: 'unsafe-eval' 'unsafe-inline'"; if ( ! headers_sent() ) { header( $csp_header ); } } } add_action( 'admin_init', 'wc_acima_add_csp_header' ); register_activation_hook( __FILE__, array( 'WC_Gateway_Acima_Credit_Installer', 'install' ) );