PHP Classes

File: ez-filter.php

Recommend this page to a friend!
  Classes of Roni   Easy PHP WordPress Filter   ez-filter.php   Download  
File: ez-filter.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Easy PHP WordPress Filter
Plugin to filter the output WordPress content
Author: By
Last change:
Date: 5 years ago
Size: 805 bytes
 

Contents

Class file image Download
<?php
/*
Plugin Name: Easy Filter
Plugin URI: http://wp-plugins.xiidea.net/easy-filter
Easy Filter Improve The Filter option of list pages(posts/pages/any custom post types)
Version: 1.01
Author: Roni Saha
Author URI: http://helpful-roni.com
*/


namespace EzFilter;

define('EZ_FILTER_OPTION','ez_filter_options');

//include the loader and other include files
include_once dirname(__FILE__) . '/Classes/Loader.php';

function
getWpObject(){
    global
$wpdb,$pagenow,$typenow;
    return
Classes\WP::getInstance(__FILE__, array('wpdb'=>$wpdb,'pagenow'=>$pagenow,'typenow'=>$typenow));
}

//instantiate the loader
$loader = Classes\Loader::getInstance(__FILE__);

spl_autoload_register(array(&$loader,'load'));

$ez_filter= new Classes\EzFilter($loader);
$ez_filter->run();