I’ve been doing some work to adapt the WordPress-Plugin-Skeleton repo by Ian Dunn of Automattic (check out his presentation on WordPress plugin MVC – good stuff).
My repo is arswright/wordpress-plugin-skeleton though, unfortunately, I’m too wrapped up in my own plugin dev work (and lurking StackExchange) to finish porting over the dependency injection container, dispatcher, and form elements I’ve been working on just now… if you want to watch that repo, though, I’ll have updates and some documentation within a few weeks.
Edit: Hopefully you found that link to Ian Dunn’s work helpful in any case – though I figured it’d only take me a few minutes to integrate changes from active development, so that repo now reflects a hodge-podge of updates (use at your own risk or just copy what you like and scrap the rest).
Related Posts:
- How do I add CSS options to my plugin without using inline styles?
- How to override existing plugin action with new action
- Add custom TinyMCE 4 Button, Usable since WordPress 3.9-beta1
- How to store username and password to API in wordpress option DB?
- Which hook should be used to add an action containing a redirect?
- How do I create links at the top of WP_List_table?
- Is it worth checking if class_exists when developing a plugin and how to do it?
- Why Does get_posts() Return an Empty Set?
- Where to enqueue stylesheets for plugin?
- How do I resolve Notice: Undefined offset: 0 in /wp-includes/capabilities.php on line 1145
- How can the tinyMCE dom be manipulated (offical API does not seem to work)?
- stray elements
- Deletion of shared options using uninstall.php
- Pass javascript result to shortcode executer function
- URLs of plugin resources?
- anything like add_meta_box for categories?
- Plugin Settings not Saving on Ajax re-ordered table
- Can we create a category list page in WordPress?
- How to include class from addon after to be sure one class exists in the main plugin?
- WordPress: After Gutenberg plugin migration to block.json the localization/ translations with PolyGlot in JavaScript does not work anymore
- Undefined function wp_set_password
- WordPress password reset – why post rp_key?
- How to modify the new WordPress 4.5 link inline toolbar
- Is it possible to check is loaded language files correctly with WordPress plugin?
- Proper way to hook wp_get_attachment_url
- How to install WordPress Popular Posts plugin twice?
- Get the link text
- Multisite plugin development and wp_enqueue_script
- Prevent plugin from deleting important directories
- Default category got deleted. How to get it back as ID=1?
- Is Dreamweaver CS5 a serious choice for theme/plugin development?
- What allows a template file from plugin to be copied in child theme and overridden?
- How to set “Site Address (URL)” programmatically on WP multisite?
- creating custom archive template within plugin for custom post type using archive_template filter
- Advice on plugin structure
- Reset plugins version cache | pre_set_site_transient_update_plugins
- Add column and post filter for a custom post type field on the edit.php page
- Problem with parameters in url and pagination
- Trying to understand order and frequency of action hooks firing
- Create & Save multiple Meta-boxes
- Are there any scripts, classes, and/or functions built-in to WP for a plugin to export/import its saved data from wp_options?
- How to fetch all images from a WordPress draft using PHP?
- Can’t get woocommerce_get_price_html to work [closed]
- jQuery selectors for editor elements safe to use?
- wp_set_object_terms not updating database without a die()
- WordPress form action – doesn’t work
- How to fetch only current hour posts?
- how to add stylesheet to particular plugin only?
- Difference between wp_salt schemes
- How to get post content by get_posts function?
- WordPress daily cron is executing more frequently than once a day
- How can I replace the search results displayed by WordPress?
- How to modify files inside wp-includes directory in wordpress
- What is the best way to store a few fields?
- add_submenu_page hooked function must explicitly check user capabilities – why?
- How to apply style_loader_src filter with exclusion of a specific file?
- I18n not working in plugin
- Mixing l18n string from my plugin with WordPress’ translations
- Minimum Widget Width for Plugin Development
- Non editable custom taxonomy
- How to resize WordPress images on upload to specific height and width without cropping it
- Get section of input passed to the sanitize_callback
- Adding tables to dashboard pages programmatically?
- how to add custom fields into new & update post page?
- Custom Endpoint – Does it possible to use PUT method with WP API Rest?
- List all user post API endpoint
- Condition to check previous next article post title
- How to know if current plugin is going to be used while rendering the page?
- Dynamically modify content added to table via javascript
- functions won’t fire after I converted my code from procedural code to OOP
- How to prevent wp_insert_post from creating a new post every second?
- CPT UI and custom database table
- Multisite and the JSON REST API: How to?
- Updating a WP Plugin SVN not showing on WordPress Website or Zip
- Download stopped working in 4.7.4
- $wpdb Mysql trigger problem
- WordPress postboxes On Tabbed Views and Hiding Registered Pages
- How can I send an id over the url?
- grouping my widgets wordpress
- Creating custom Insert Media page
- Yet another wp_insert_post infinite loop. What is wrong?
- Initialize class inside plugin
- “Print to printer” functionality in a plugin
- Which subset of html does WordPress support?
- How to set init for maximum script execution, memory limit and max files upload in wordpress
- Trying to build a plugin – Cannot modify header information
- Anyway to prevent admin from seeing other admin’s product?
- Build a dynamic block using the default attributes
- How to display .ptm file in my WP site without JAVA
- Programmatically creating posts based on external JSON feed (asynchronously)
- Bulk post approval and publishing doesn’t work
- Show Admin Menu
- How to replace content of a block in and re-render on change?
- extending a core block doesn’t work inside the editor
- register_activation_hook doesn’t execute without add_action(‘init’,’some-function’)
- Getting similar posts by custom field value
- Does WP REST API cache internally executed (rest_do_request) requests?
- Trouble Importing whatsapp-web.js in a WordPress Plugin Development
- ‘useSate’ error when using React on the frontend in custom block plugin
- Display months on a drop down calendar as TEXT instead of Numbers