[Plugin: WP-Table Reloaded] PHP Extensions dont show variables
-
Hello
i added this extension (and activate plugin) but PHP dont work<?php /* Plugin Name: WP-Table Reloaded Extensions Plugin URI: https://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/extensions/ Description: Custom Extensions for WP-Table Reloaded Version: 1.0 Author: YOU, Tobias Baethge */ /** * Executes PHP code in table cells * @author Tobias Baethge * @see https://tobias.baethge.com/2010/02/extension-5-how-to-use-php-in-table-cells/ */ function wp_table_reloaded_execute_php_in_cells( $cell_content ) { ob_start(); eval( '?>' . $cell_content ); $output = ob_get_clean(); return $output; } add_filter( 'wp_table_reloaded_cell_content', 'wp_table_reloaded_execute_php_in_cells' ); ?>
This is working:
<?php echo "Hallo";?>
This dont work
<?php echo $hallo;?>
The variable is exist and not empty.I use WordPress 3.1
Greeting
Linchen
- The topic ‘[Plugin: WP-Table Reloaded] PHP Extensions dont show variables’ is closed to new replies.