WPDK
1.5.0
WordPress Development Kit
|
Public Member Functions | |
__construct (WPDKWordPressPlugin $plugin) | |
Construct. More... | |
wp_pointer () | |
WP Pointer. More... | |
admin_body_class ($classes) | |
Add extra class in body. More... | |
admin_menu () | |
WP Hook when menus are building. More... | |
admin_enqueue_scripts ($hook_suffix) | |
Admin backend area head. More... | |
Public Member Functions inherited from WPDKObject | |
__className () | |
Returns the class object. More... | |
__parentClass () | |
Returns the class object for the receiver’s superclass. More... | |
__isClass ($class) | |
Brief. More... | |
__isSubclassOfClass ($class) | |
Return TRUE if the receiving class is a subclass of —or identical to— $class, otherwise FALSE. More... | |
Data Fields | |
$__version = '0.9.0' | |
Version. More... | |
$bodyClasses | |
List of class for body. More... | |
$plugin | |
Parent base class. More... | |
Data Fields inherited from WPDKObject | |
$__version = '1.0.0' | |
The version number assigned to the class. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from WPDKObject | |
static | __delta ($last_version, $old_version) |
Object delta compare for combine. More... | |
static | delta ($last_version, $old_version) |
static | __dump ($var, $monitor=false) |
Dump a variable. More... | |
Manage and init WordPress backend admin area
This class is used when the backend is loaded. You can subclassing this class for get a lot of facilities when you have to manage the theme interactions.
This class prepare for us some useful and common action/filter hook.
Definition at line 19 of file wpdk-wordpress-admin.php.
__construct | ( | WPDKWordPressPlugin | $plugin | ) |
Construct.
Create a WPDKWordPressAdmin object instance
WPDKWordPressPlugin | $plugin | Your main plugin instance |
Definition at line 57 of file wpdk-wordpress-admin.php.
admin_body_class | ( | $classes | ) |
Add extra class in body.
This is an internal method to build the extra class for body tag.
array | $classes | Extra classes list |
Definition at line 101 of file wpdk-wordpress-admin.php.
admin_enqueue_scripts | ( | $hook_suffix | ) |
Admin backend area head.
Used for load scripts and styles in admin backend area.
string | $hook_suffix | Hook suffix |
Definition at line 136 of file wpdk-wordpress-admin.php.
admin_menu | ( | ) |
WP Hook when menus are building.
You will use this method for create the WordPress admin menu
Definition at line 124 of file wpdk-wordpress-admin.php.
wp_pointer | ( | ) |
WP Pointer.
Used for load wp pointer scripts & styles
Definition at line 85 of file wpdk-wordpress-admin.php.
string $__version = '0.9.0' |
array $bodyClasses |
List of class for body.
List of CSS class to add to body
Definition at line 37 of file wpdk-wordpress-admin.php.
WPDKWordPressPlugin $plugin |