Method | Description | |
---|---|---|
admin_print_scripts ( ) | Fires when scripts are printed for all admin pages. | |
autoloadWPDKEnvironment ( string $sClassName ) | This function performs runtime autoloading of all WPDK classes, based on previous class registering executed in includes method. | |
init ( ) : WPDK | Init the framework in singleton mode to avoid double include, action and inits. | |
load_plugin_textdomain ( ) | Load a text domain for WPDK, like a plugin. In this relase WPDK has an own text domain. This feature could miss in future release | |
registerAutoloadClass ( string | array $sLoadingPath, string $mClassName = '' ) | This function records a WPDK class into autoloading register, joined with its loading path. The function has some facility in its first param, in order to allow both string and array loading of class names ( useful in case of a group of classes that are defined in a single file ): | |
wp_head ( ) | Print scripts or data in the head tag on the front end. | |
wpdk_flush_cache_third_parties_plugins ( ) | Fires to flush (clear) the third parties plugins. |
Method | Description | |
---|---|---|
__construct ( ) : WPDK | Create an instance of WPDK class and init the franework | |
defines ( ) | Include external defines | |
registerClasses ( ) | Register all autoload classes and include all framework class files through SPL autoload logic | |
scriptLocalization ( ) : array | Return a Key values pairs array to localize Javascript |
public admin_print_scripts ( ) |
public autoloadWPDKEnvironment ( string $sClassName ) | ||
$sClassName | string | - The class that has to be loaded right now |
public static init ( ) : WPDK | ||
return | WPDK |
public load_plugin_textdomain ( ) |
public wpdk_flush_cache_third_parties_plugins ( ) |