flush rewrite rules after plugin update?
Your answer above was close but is should be add_action( ‘upgrader_process_complete’, ‘wp_answ_355114’ ); not do_action( ‘upgrader_process_complete’, ‘wp_answ_355114’ ); noting that this is only the case when a plugin is updated view WP plugin updates.