-
Hi
Whenever I develop a plugin using Plugin/Widget Boilerplate, I have no problem using them on linux severs, but once I install it on a wordpress that is running on a windows server I get error 500 …
-
I was talking to @GaryJones at wceu and he mentioned placing the settings function in another class.
I thought it was good idea. So that is why I have done in on my fork. https://github.com/grappler/…
-
Add the actual textdomain instead of $this->plugin_slug in the strings related to this, because it won't work otherwise.
-
```
// Add an action link pointing to the options page.
$plugin_basename = plugin_basename( plugin_dir_path( __FILE__ ) . $this->plugin_slug . '.php' );
add_filter( 'plugin_action_links_' . $plugin_ba…
-
Good PHP practice says that files should either define stuff (classes, functions and so on) with no side effects, or be a file that uses those definitions and therefore has an effect.
See [PSR-1](htt…
-
Is there any information anywhere on best practice for using files in the views directory?
For example, if I want to render a public facing form from a plugin, I might create a function to do that. D…
-
Just decided to give it a try for a new plugin I'm working on. I get the following notice twice:
> PHP Notice: register_uninstall_hook was called incorrectly. Only a static class method or function …
-
Hi Tom,
I am having trouble working out how I can have the variable in further class.
Thanks
-
Thoughts/comments? I see we're using 'PluginName' in plugin-name.php. Does WP create a new instance of that class when it's added like that vs `&$this`?
-