Open rvdsteege opened 1 month ago
Should we add something like this in the installation routine:
$installation_date = (string) \get_option( 'pronamic_pay_installation_date', '' );
if ( '' === $installation_date ) {
\update_option( 'pronamic_pay_installation_date', \current_time( 'mysql', true ) );
}
We can use the installation date to determine if we should still display the admin tour?
The admin tour — suggesting the Pronamic Pay plugin has just been installed — always starts for a user if there is no
pronamic_pay_ignore_tour
user meta. This happens even a year after the plugin has been installed and a new user is created. I think we can improve this.