We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c324546 commit 15fb355Copy full SHA for 15fb355
1 file changed
GDPR/GDPR.php
@@ -63,7 +63,7 @@ public function __construct() {
63
* @return void
64
*/
65
private function register_hooks() {
66
- add_action( 'admin_init', array( $this, 'admin_init' ), 5 );
+ add_action( 'init', array( $this, 'init' ), 5 );
67
}
68
69
/**
@@ -73,7 +73,7 @@ private function register_hooks() {
73
*
74
75
76
- public function admin_init() {
+ public function init() {
77
$this->maybe_install_db();
78
79
$this->legal_consent = new LegalConsent();
0 commit comments