WPDK  1.5.0
WordPress Development Kit
 All Data Structures Files Functions Variables Pages
WPDKShortcode Class Reference

Public Member Functions

 __construct ()
 Construct. More...
 
 registerShortcodes ()
 Register shortcode. More...
 

Protected Member Functions

 shortcodes ()
 List of allowed shorcode. More...
 

Detailed Description

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

Author
=undo= info@.nosp@m.wpxt.nosp@m.re.me
Date
2013-11-18
Version
1.0.1
Since
0.9.0

Definition at line 19 of file wpdk-shortcode.php.

Constructor & Destructor Documentation

__construct ( )

Construct.

Create an instance of WPDKShortcode class

Returns
WPDKShortcode

Definition at line 28 of file wpdk-shortcode.php.

Member Function Documentation

registerShortcodes ( )

Register shortcode.

Register all shorcode in shortcodes() array

Definition at line 38 of file wpdk-shortcode.php.

shortcodes ( )
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.

Returns
array Shortcode array

Definition at line 55 of file wpdk-shortcode.php.


The documentation for this class was generated from the following file: