WPDK
1.5.0
WordPress Development Kit
|
Public Member Functions | |
__construct () | |
Construct. More... | |
registerShortcodes () | |
Register shortcode. More... | |
Protected Member Functions | |
shortcodes () | |
List of allowed shorcode. More... | |
Shortcode class for extends a shortcode parent class. You will use this class to extends a your own shortcode class.
class YouClass extends WPDKShortcode {}
In this way you can access to registerShortcodes
method
Definition at line 19 of file wpdk-shortcode.php.
__construct | ( | ) |
Construct.
Create an instance of WPDKShortcode class
Definition at line 28 of file wpdk-shortcode.php.
registerShortcodes | ( | ) |
Register shortcode.
Register all shorcode in shortcodes() array
Definition at line 38 of file wpdk-shortcode.php.
|
protected |
List of allowed shorcode.
Return a Key value pairs array with key as shortcode name and value TRUE/FALSE for turn on/off the shortcode.
Definition at line 55 of file wpdk-shortcode.php.