PluginProbe
Posts Table with Search & Sort / 1.3
Posts Table with Search & Sort v1.3
trunk 1.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.1 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.2 1.3 1.3.1 1.3.1-v2 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 All 39 releases
posts-data-table / posts-data-table.php

posts-data-table.php in Posts Table with Search & Sort 1.3, at posts-data-table.php

40 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * The main plugin file for Posts Table with Search & Sort.
5 *
6 * @wordpress-plugin
7 * Plugin Name: Posts Table with Search & Sort
8 * Plugin URI: https://wordpress.org/plugins/posts-data-table/
9 * Description: Provides a shortcode to show a list of your posts in an instantly searchable & sortable table.
10 * Version: 1.3
11 * Author: Barn2 Media
12 * Author URI: https://barn2.co.uk
13 * Text Domain: posts-data-table
14 * Domain Path: /languages
15 *
16 * Copyright: Barn2 Media Ltd
17 * License: GNU General Public License v3.0
18 * License URI: https://www.gnu.org/licenses/gpl.html
19 */
20 namespace Barn2\Plugin\Posts_Table_Search_Sort;
21
22 // Prevent direct file access
23 if ( ! defined( '\ABSPATH' ) ) {
24 exit;
25 }
26
27 const PLUGIN_VERSION = '1.3';
28 const PLUGIN_FILE = __FILE__;
29
30 // Autoloader.
31 require_once plugin_dir_path( __FILE__ ) . 'autoloader.php';
32
33 // Helper function to access the shared plugin instance.
34 function posts_table_search_sort() {
35 return Plugin_Factory::create( PLUGIN_FILE, PLUGIN_VERSION );
36 }
37
38 // Load the plugin.
39 posts_table_search_sort()->register();
40