File "class.string.wpdatacolumn.php"
Full Path: /var/www/bvnghean.vn/save_bvnghean.vn/wp-content/plugins/wpDataTables_v1.6.1/source/class.string.wpdatacolumn.php
File size: 631 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
class StringWDTColumn extends WDTColumn {
protected $_dataType = 'string';
protected $_jsDataType = 'string';
public function __construct( $properties = array () ) {
parent::__construct( $properties );
$this->_dataType = 'string';
}
public function prepareCellOutput( $content ) {
$value = str_replace( "\n","<br/>", $content );
if(WDT_PARSE_SHORTCODES_IN_STRINGS){
$content = do_shortcode( $content );
}
$content = apply_filters( 'wpdatatables_filter_string_cell', $content );
return $content;
}
}
?>