forked from Sitebase/wpframework
-
Notifications
You must be signed in to change notification settings - Fork 0
Framework to build plugins for WordPress in an OO way
License
codecowboy/wpframework
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a little framework that I've written so that I finally can write OO-plugins for WordPress. You can create actions and filter methods that will automaticly get called. This class is still in a *beta* stage so let me know if you have any tips, suggestions or find any bugs. I've included 4 examples so you can take a look how you can write plugins with this framework. The following examples are included: - Dashboard widget - Widget - Custom post type - Plugin == Tips == - When creating a widget from the template don't forget to you need to change the class name and the class constructor name! == Changelog == = 0.5 = Add filter post_type_link Add filter post_update_messages Merge $_FILES and $_POST so can now also apply validators to upload fields Remove static from load_view method so you can use $this in your views Add image size validator Add file size validator Fixed bug when you add another validator before notempty Change lowercase directories to camelcase Added method load to load framework classes Added cache methods that uses WordPress transient = 0.1 = Initial version release
About
Framework to build plugins for WordPress in an OO way
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- PHP 99.4%
- JavaScript 0.6%