WordPress-Plugin-Template
WordPress-Plugin-Template copied to clipboard
A robust code template for creating a standards-compliant WordPress plugin.
When I run the shell script, it replaces the template folder with the new plugin files instead of creating them in the given directory. I am on Windows 7 64...
I am not even sure if this is going to be possible, but I would like to dynamically populate a multi select option. The get_race_simple function create a multi-dimensional array...
Hi, First of all, thanks for the fabulous plugin! Using this boilerplate for the second time, I realized that the options were being set for both plugins at the same...
In order to pass PHPCS, I've changed the following lines in Class _Settings: 334: $current_section = $_POST['tab']; $current_section = sanitize_text_field( wp_unslash( $_POST['tab'] ) ); 337: $current_section = $_GET['tab']; $current_section =...
Now that WordPress has a minimum PHP requirement of 5.6, let's namespace all the classes and autoload them
Hello, I would like to propose the following uninstall.php ``` if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) { exit; } //change your plugin prefix here delete_options_prefixed( 'test_' ); function delete_options_prefixed(...
Hello, checkbox default 'on' not working when settings screen gets loaded the first time after plugin activation, the checkbox is unchecked. I am on the latest WP (5.0.3) and PHP...
Added support for PLUGIN_URL, AUTHOR_NAME, AUTHOR_URL, TEXT_DOMAIN placeholders. Ensured package.json is also updated properly. Automatically setting todays date in readme.txt.
Hi, I would like to have a setting that I could change it by code (for example: last time cache refresh) and just show the value in settings but to...