Adds action links to the plugin list table
Is your enhancement related to a problem? Please describe.
The plugin was missing the action link for “Settings” on the Plugins page in the WordPress admin. Because this link was not present, users had no direct way to navigate to the plugin’s settings page from the plugin list table, which reduces usability and is inconsistent with standard WordPress plugin behavior.
Proposed Solution
Add a plugin_action_links() function that injects a Settings link into the plugin’s action links. This ensures users can quickly access the plugin settings from the Plugins screen.
Designs
Describe alternatives you've considered
No response
Please confirm that you have searched existing issues in this repository.
Yes
There are currently no settings for the plugin as a whole. We only have two factor settings for individual users that are added to their profile page in the admin.
I wonder if it would be confusing for admins to have their profile linked as the settings page? Would users understand that these are profile-level settings and nothing they are enabling for everyone?
@kasparsd When I first installed this plugin, I wasn’t sure how to enable two-factor authentication. After looking at the screenshot, I understood how to set it up.
I also noticed the blueprint includes a landing URL, so administrators can visit that link anytime if they need to enable it. Because of that, I don’t think admins will get confused.
Thanks for confirming. Let's add it in and then adjust as needed. I also hope that we can merge #701 soon as that contains a bunch of documentation updates.
Added 'Settings' action link to plugin list for quick access to profile.
Fixed in #740.