Learn about some important best practices for WordPress plugin development. Understanding and following these recommendations will help you build quality WordPress plugins.
ahead of the competition? … Their plugins are developed with the WordPress API … and best practices. … Following best practices ensures … that your plugin will be widely compatible. … This video explores some important best practices … that will enable your plugins … to be as successful as possible. … that we'll be covering in this video. … First up, file organization. … Here's an example showing a good way … to organize your plugin files. … The key word here is organized. … We always want to keep the plugin's root directory … as uncluttered as possible. … It should include a blank index file, … the main plugin file, an uninstall file, … plus license and README files. … From there, you can add subdirectories as needed … to house other plugin files. … For example, most plugins have some sort of includes folder, … a languages folder, and admin and public folders. … We'll use this exact setup … in the next chapter of the course. … When it comes to organizing files, … there are no strict rules, only best practices …
- WordPress APIs
- Action and filter hooks
- Activating and deactivating plugins
- Plugin security
- Creating the directory and files
- Adding menus and the settings page
- Inserting custom functionality
- Testing and debugging WordPress plugins
- Creating widgets
- Managing users and roles
- Adding custom post types and taxonomies
- Working with custom fields and database queries
- Using APIs: Transients, HTTP, and REST
Skill Level Intermediate
WordPress: Developing Secure Siteswith Jeff Starr2h 34m Intermediate
1. First Steps
2. Plugin Basics
3. Building a WordPress Plugin
4. Essential Plugin Techniques
5. Extending Plugin Functionality
6. Advanced Plugin Techniques
Next steps1m 16s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.