// Shortcodes
// TODO Commented (ticket #612) because if you display the wp editor in frontend and error occurs on _WPDKShortcodes
// TODO Use `/wp-admin/plugin-editor.php?file=wpxtreme%2Fwpdk/wpdk.php&plugin=wpxtreme%2Fmain.php` to edit in wp plugin editor
// add_action( 'wp_loaded', array( 'WPDKServiceShortcode', 'init' ) );
The wpdk javascript is loaded only for backend admin area. Load the script when the editor is loaded. Some theme use the wp editor in frontend.
On file
wpdk.php
The wpdk javascript is loaded only for backend admin area. Load the script when the editor is loaded. Some theme use the wp editor in frontend.