I personally set up a development environment as a base of my WordPress Development, where I’ve dummy data and some other debugging plugins. I then create my own plugin directory and do git init
in it. During plugin development, I set up the Developer plugin to Plugin for a self-hosted WordPress installation. It helps me to understand my plugin’s performance with other plugins and themes.
Then I add my test data specific to that plugin, develop it, test it, finalize it – git commit
.
For Git remote, I use Bitbucket and Gitlab for private plugins, and Github for public plugins.
When the plugin is ready to deploy, I then test it in other development environments similar to this, with other engines (if possible). Finally release the version git tag -a v1.0.0
.
This setup helped me to use a single/duo Development environment for all types of development. And other environments for testing.
Related Posts:
- Plugin updates, version dependencies, and backwards compatibility
- How can I edit commit messages in my wp-hosted plugin repo?
- How developed with version control word press site on shared host? [closed]
- One-way DB Migration Workflow
- Updating a WP Plugin SVN not showing on WordPress Website or Zip
- Is Explicit Versioning a better alternative to Semantic Versioning for wordpress?
- How can a plugin create a page/form in the front end?
- Looking for WordPress System Diagrams
- How to output message during plugin activation
- How to provide translations for a WordPress TinyMCE plugin?
- Where do I start from
- How do you create a custom edit.php / edit pages page
- Check the Version of an Enqueue’d External Library
- Edit the output of wp_widget_rss_output()
- Change of query var in pre_get_posts not maintained
- Hook for post permalink update
- Menu Error in Admin Console with Custom Plugin: You do not have sufficient permissions to access this page
- How to Parse an Array of Elements in Gutenberg Block
- Load page template with custom content using a plugin
- Custom rewrite rule serves content, but returns 404 error code
- Will changing the ‘Plugin Name’ header in the next update of a plugin break anything?
- Performance of several get_option() calls
- How to edit mySQL wp_posts table from plugin php?
- Creating a Wordpess Plugin that writes data to a csv file. The data doesn’t show in the csv file?
- WP custom menus error > menu name already exists?
- Problem with is_active_sidebar?
- Prevent Plugin from loading on ‘wp-admin / wp-login’
- Widget update function not saving values
- Getting admin notices working for plugin errors
- override pluggable.php functions
- An echo line in a transition_post_status action leads to “cannot modify header information – headers already sent by”
- get_the_excerpt() is not returning an empty string when the_excerpt is blank?
- “Plugin could not be activated because it triggered a fatal error.”
- Storing product price data in the database
- Does the order of sections in readme.txt matter?
- Add column in WP user but it goes wrong
- modify wordpress default search
- How to remove the current post from the query?
- Is file_get_contents() the only way for plugins reading local files OR does WP_Filesystem_Direct::get_contents() even work?
- how to get up row in wordpress with wpdb
- Preview plugin store details
- Hook into Jetpacks Publicize without using a post type
- Get attachments from a post
- How to limit number of number of categories displayed by categories widget
- How to remove default style of header in wordpress metabox
- TEMPLATEPATH without the theme name? No THEMEPATH constant?
- Is it necessary to do validation again when retrieving data from database?
- wp_update_post deletes post meta in CPT
- Using WordPress PHP code, how to bulk delete only 100 subscribers at a time from thousands of users?
- Checking a WordPress for OWASP top 10 vulnerabilities [closed]
- flush rewrite rules after plugin update?
- Multiple API Endpoints (wp_remote_get)
- plugin_dir_url & plugin_basename not working when plugin dir is outside wordpress dir
- How to replace default comments with custom HTML?
- WP nonce field checkbox prints checked=’checked’ outside input field
- Shortcode not appearing when used as post content in wp_insert_post() or possibly, shortcode not being registered at all
- Creating two tables in database on activation hook
- Adding Custom CSS with PHP
- How to remove/replace current page template?
- How to receive notification of deprecated API elements and functions?
- Using password protection to load different page elements?
- It is possible to pass $args that sent by add_settings_field() inside another function?
- Change reminder email date to 14 days before
- .htaccess with WordPress – create my own pretty url with parameters (above WordPress settings)
- Generating a password-protected front-end page via a plugin
- wp_remote_post not working with admin-post.php
- Adding Amchart Interface to WordPress API
- WordPress Own Rewrite Rules
- Default media uploader is not showing in wordpress website
- Don’t print customizer styles when no setting has been used
- Load custom translation in custom plugin fails
- Buddy Press restrict the capability to edit users
- Plugin with functions inside a class & how to trigger WP CRON
- “Headers Already Sent” Nightmare on Plugin
- add_settings_error on validating plugin options API
- Uncaught ReferenceError: kpoejy is not defined
- Unable to show a message after plugin activation
- How to get an array out of a nav menu if it’s a plugin?
- Is there better way to do this without duplicating queries?
- How to create a simple plugin which show/hide an html code in wordpress?
- Can I access WordPress API’s from within plugin scripts?
- Is there a way to make is_search() always return false
- Translation of plugin Upload button
- Ajax url value to pass ‘variable’ to use in query
- Apply Filters Causing a 500 Internal Server Error
- Create wordpress dashboard metabox which spans all columns
- add_filter adds output in the head
- How can i add insertion point between inner blocks in my custom block like core blocks
- 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
- 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