mathetos / my-plugin-info-widget

A widget for displaying WordPress plugin info from the WordPress Plugin Directory
GNU General Public License v2.0
5 stars 1 forks source link

Add option to display plugin name as "Name" or "Slug" #9

Open mathetos opened 7 years ago

mathetos commented 7 years ago

Some plugins give themselves really long names for search purposes, while their real "name" is the slug (like Give: https://wordpress.org/plugins/give ). Others have old slugs that are no longer their actual "name" (like Yoast SEO: https://wordpress.org/plugins/wordpress-seo ).

We should provide the ability to display either their Slug (with ucwords() and strip slashes) or their proper name within the widget.