# posts-data-table/1.3.1/src/deprecated.php

Posts Table with Search &amp; Sort, version 1.3.1. 36 lines.

- Page: https://pluginprobe.com/plugins/posts-data-table/1.3.1/code/src/deprecated.php
- Raw: https://pluginprobe.com/plugins/posts-data-table/1.3.1/raw/src/deprecated.php
- Modified: 2019-11-16T17:52:56+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/posts-data-table/1.3.1/code/src/deprecated.php#L10-L20`.

```php
<?php

/**
 * @deprecated Replaced by Barn2\Plugin\Posts_Table_Search_Sort\Plugin
 */
class Posts_Data_Table_Plugin {

    public static function instance() {
        _doing_it_wrong( __FUNCTION__, 'Replaced by Barn2\Plugin\Posts_Table_Search_Sort\Plugin::instance()', '1.2' );

        return Barn2\Plugin\Posts_Table_Search_Sort\Plugin::instance();
    }

}

/**
 * @deprecated Replaced by Barn2\Plugin\Posts_Table_Search_Sort\Table_Shortcode
 */
class Posts_Data_Table_Shortcode {

    public static function do_shortcode( $atts, $content = '' ) {
        _doing_it_wrong( __FUNCTION__, 'Replaced by Barn2\Plugin\Posts_Table_Search_Sort\Table_Shortcode->do_shortcode()', '1.2' );

        $shortcode = new Barn2\Plugin\Posts_Table_Search_Sort\Table_Shortcode();
        return $shortcode->do_shortcode( $atts, $content );
    }

}

/**
 * @deprecated Replaced by Barn2\Plugin\Posts_Table_Search_Sort\Simple_Posts_Table
 */
class Posts_Data_Table_Simple extends Barn2\Plugin\Posts_Table_Search_Sort\Simple_Posts_Table {

}

```
