mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 10:46:11 +09:00
* added todos;
This commit is contained in:
@@ -24,7 +24,7 @@ if ( ! class_exists( 'um\admin\core\Admin_GDPR' ) ) {
|
||||
* Admin_GDPR constructor.
|
||||
*/
|
||||
function __construct() {
|
||||
add_action( 'init', array( &$this, 'init_fields' ), 10 );
|
||||
add_action( 'init', array( &$this, 'init_fields' ) );
|
||||
add_action( 'admin_init', array( &$this, 'plugin_add_suggested_privacy_content' ), 20 );
|
||||
add_filter( 'wp_privacy_personal_data_exporters', array( &$this, 'plugin_register_exporters' ) );
|
||||
add_filter( 'wp_privacy_personal_data_erasers', array( &$this, 'plugin_register_erasers' ) );
|
||||
|
||||
@@ -81,6 +81,7 @@ if ( ! class_exists( 'um\core\Access' ) ) {
|
||||
add_action( 'um_access_check_individual_term_settings', array( &$this, 'um_access_check_individual_term_settings' ) );
|
||||
add_action( 'um_access_check_global_settings', array( &$this, 'um_access_check_global_settings' ) );
|
||||
|
||||
// Don't change hook and priority, because hooks for filtering queries are run before `init`.
|
||||
add_action( 'plugins_loaded', array( &$this, 'initialize_hooks' ), 1 );
|
||||
}
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ if ( ! class_exists( 'um\core\Mail' ) ) {
|
||||
public function __construct() {
|
||||
//mandrill compatibility
|
||||
add_filter( 'mandrill_nl2br', array( &$this, 'mandrill_nl2br' ) );
|
||||
add_action( 'plugins_loaded', array( &$this, 'init_paths' ), 99 );
|
||||
add_action( 'plugins_loaded', array( &$this, 'init_paths' ), 99 ); // @todo change to init.
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user