Property | Type | Description | |
---|---|---|---|
$__version | string | Override version | |
$plugin | WPDKWordPressPlugin | Your main plugin instance |
Method | Description | |
---|---|---|
__construct ( WPDKWordPressPlugin $plugin = null ) : WPDKWordPressTheme | Create a WPDKWordPressTheme object instance | |
_body_class ( array $classes ) : array | Called when WordPress makes the class attribute of body tag | |
after_setup_theme ( ) | Called by after_setup_theme action | |
template_include ( string $template ) : string | Called by template_include filter. This filter is useful to change the defaul theme filename. | |
template_redirect ( ) | Called by template_redirect action. This action is called before the frontend theme is displayed. | |
wp ( ) | Called by wp action | |
wp_enqueue_scripts ( ) | Called by wp_enqueue_scripts action. You will use this action to register (do a queue) scripts and styles. | |
wp_footer ( ) | Called by wp_footer action. This action is called in the footer theme. | |
wp_head ( ) | Called by wp_head action. This action is called after the head section and before the body tag. |
public __construct ( WPDKWordPressPlugin $plugin = null ) : WPDKWordPressTheme | ||
$plugin | WPDKWordPressPlugin | Optional. Your main plugin instance |
return | WPDKWordPressTheme |
public _body_class ( array $classes ) : array | ||
$classes | array | List of classes |
return | array | New list class |
public template_include ( string $template ) : string | ||
$template | string | The URL of template |
return | string | A new URl template |
public template_redirect ( ) |
public wp_enqueue_scripts ( ) |
public wp_head ( ) |