WP_ERASE_PERSONAL_USER_DATA::__construct()

Set up Automator action constructor.


Source Source

File: src/integrations/wp/actions/wp-erase-personal-user-data.php

	public function __construct() {
		$this->action_code = 'WPERASEUSERDATA';
		$this->action_meta = 'ERASEUSERDATA';

		if ( is_admin() ) {
			add_action( 'wp_loaded', array( $this, 'plugins_loaded' ), 99 );
		} else {
			$this->define_action();
		}
	}