There’s certainly no need to name plugin files with prefixes (although some plugin authors like to do this). I suspect the advice you read was referring to functions within your plugin files. Structuring you plugin folders as you suggest (using a class folder) is fine.
See this link for more information on writing plugins:
http://codex.wordpress.org/Writing_a_Plugin
Specifically the section “Plugin Development Suggestions” towards the end where it says:
All the functions in your Plugin need to have unique names that are different from functions in the WordPress core, other Plugins, and themes. For that reason, it is a good idea to use a unique function name prefix on all of your Plugin’s functions. A far superior possibility is to define your Plugin functions inside a class (which also needs to have a unique name).
Related Posts:
- Does a plugin’s “main” file need to be named the same as the folder containing it?
- Page Templates from plugin not working after upgrading WP to 4.7 or upper version
- How to add option box in “Edit Post” plugin API?
- Avoiding plugin name collisions with WP updater
- use WordPress theme / plugin editor in my plugin
- Using standard backend elements in Plugin
- Plugin development: how to create a form and get custom data?
- Security error WP 4.0 + WP phpBB Bridge [closed]
- WordPress adding tags into plugin content
- Execute a function using ajax
- Is it possible to upload a template file to a directory that can be used by all themes?
- WordPress hook for visiting a post
- Fatal error: Class not found in
- Custom Shipping method not showing in checkout
- REST-API: extend media-endpoint
- Showing Notifications While Activating Plugin
- Workflow and best practice for documentation [closed]
- Creating a modal dialog without jQuery
- What user roles should have wp_unique_post_slug_is_bad_flat_slug filter applied?
- How can I create a simple interface for my WP plugin?
- Where to put my global functions?
- Hidden Custom Post Type
- Is there a way to programmatically enable a plugin?
- Where does WordPress register default scripts like jQuery?
- Adding Attachment Display Settings in custom media frame
- How to include code into functions.php file via a plugin
- Determine Registered Admin Menus
- How can I get WordPress to save comments in markdown format?
- Help With MySQL to WPDB Query Conversion
- __callStatic method handler passed to add_action causes bug in PHP
- code is working properly in Core PHP but writing coding in WordPress
- New databes tables with – WooCommerce – for developers [closed]
- Plugin-generated pages use Not Found or Pages Archive templates?
- 306 MB of wp_options occupied by WordPress SEO Plugin, is that normal? [closed]
- Custom plugin init action causing general slowness
- Perform internal redirect in WordPress?
- How to prevent plugins from loading jQuery
- Inject HTML meta tag inside wordpress tag using add_shortcode
- How to get the permanent link in a plugin?
- Duplicate results are displayed in a custom plugin [closed]
- Disable Individual Plugins (specifically in Custom Post Types) on a per-post basis?
- Basic question about accessing scripts in my plugin
- Automatically download, install and activate plugins that my plugin depends, how?
- How to create WordPress custom end point with multiple parameters?
- How to redirect to same page after form submission
- plugin dev – minimum base css specificity?
- Loop in elementor custom widget not working
- WordPress SVN UTF-8 issue
- Creating a functionality plugin to edit seriously simple podcasting
- Asynchronous request in wordpress
- How to access OOP plugin function inside themes or other plugin
- change or add css to theme from plugin
- How to add credit card validation check to wordpress [closed]
- Displaying data from another database
- Every time I de-activate a custom plugin, the site encounters a critical error
- Custom Fields for Page Edits
- Apply html elements in php statement
- Is it possible/advisable to set last stable version to previous version?
- How to make sure settings are not lost when plugin is updated?
- How Can i import plugin option?
- How to Get Category Name When Export Products
- How to override any plugin file in the child theme
- Custom plugin activation error
- How to overwrite a plugin?
- How can I translate something in my class constructor of my plugin in WordPress?
- Define global variable in theme file and call that variable in plugin file
- How to capture hidden values with Gravity Forms
- Custom Plugin Update
- How do I stop plugins and themes from getting updated in a new plugin?
- How come W3TC is allowed to host premium code in the WordPress repo?
- Multiple image selection custom widget
- Custom wp_list_tables redirect on specfic page
- Passing function into add_action always returns the first argument
- Paid Membership Pro displaying a user name in PHP
- Make another copy of a plugin and install it
- Custom plugin giving: wp-admin/admin-ajax.php 400 (Bad Request)
- WP Plugin CSS not being applied to page
- Creating Nested custom fields
- plugin not hooking to my custom hook
- Populate select option with JSON file
- Enahanced search for edit.php and custom post type
- Unable to sync woocommerce variations
- API Functions to Register and Show WordPress List Tables
- How to save default values into an option and delete those upon actvation and deactivation in wordpress?
- How to Add Jquery FullCalendar in wp plugin in admin
- Plugin hook breaks new WP 4.0 media library grid view?
- Ajax, jQuery and WordPress
- How to get site homepage from plugin?
- How to submit the custom form data in database in WordPress without plugin?
- Unable to show 4 products in a row
- WordPress check box unchecked on null value ternary operator [plugin development]
- Why haven’t I see plugins using get_file_data to handle retrieving plugin version?
- WordPress Hooks : Where to place callbacks that repetitively yield the same effect?
- wordpress Ajax success doesn’t return the value
- Unable to pass arguments from plugin form to filter hook using ajax, the data is transferring via ajax but unable to pass as arguments in filter hooks
- How to update changes to multiple sites at the same time
- wp_handle_upload – specified file failed upload test
- Why am I getting an error when requiring a file in my plugin?
- Running a function using Crown WordPress on one day a week, for example, Mondays of every week
- How to make a Template page to show the information of different things Shop and Product page?