You can also lock group, so that user cannot disable script within that group ..
You can add your in in the admin screen using the filter gdprvc third party script.
Example function add third party script { $scripts = array return $scripts } add filter.
Use the function gdprvc user has accepted script to determine whether user has accepted script or not.
Example function test script wp head { if ) { return } if ) { return } echo } add action.
Activate the plugin through 'Plugins WordPress.
Navigate to ' GDPR Visitor Consent in the sidebar and configure your scripts.
Switch the banner to 'Other Settings and Save...
GDPR Visitor Consent provides API for third-party developers to integrate their scripts into this plugin...
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Read more