Tablepress and DK PDF Generator (from backend)
-
Hi Tobias,
I have a problem with plugin “DK PDF Generator” from backend: the table is unformatted.
For backend I have put a short code in functions.php:
<?php
function run_tablepress_shortcodes_in_admin() {
if ( is_admin() ) {
TablePress::$model_options = TablePress::load_model( ‘options’ );
TablePress::$model_table = TablePress::load_model( ‘table’ );
$GLOBALS[‘tablepress_frontend_controller’] = TablePress::load_controller( ‘frontend’ );
}
}
add_action( ‘tablepress_run’, ‘run_tablepress_shortcodes_in_admin’ );
?>Can you help me?
Thank you,
FedericoThe page I need help with: [log in to see the link]
The topic ‘Tablepress and DK PDF Generator (from backend)’ is closed to new replies.