# wpdirectorykit/1.2.7/application/models/Listingusers_m.php

WP Directory Kit, version 1.2.7. 30 lines.

- Page: https://pluginprobe.com/plugins/wpdirectorykit/1.2.7/code/application/models/Listingusers_m.php
- Raw: https://pluginprobe.com/plugins/wpdirectorykit/1.2.7/raw/application/models/Listingusers_m.php
- Modified: 2023-10-17T19:27:58+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/wpdirectorykit/1.2.7/code/application/models/Listingusers_m.php#L10-L20`.

```php
<?php

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}

class Listingusers_m extends Winter_MVC_Model {

	public $_table_name = 'wdk_listings_users';
	public $_order_by = 'post_id DESC';
    public $_primary_key = 'post_id';
    public $_own_columns = array();
    public $_timestamps = FALSE;
    protected $_primary_filter = 'intval';
    public $form_admin = array();
    public $fields_list = NULL;
    
	public function __construct(){
        parent::__construct();
	}

    public function delete_where($where)
    {
        $this->db->where($where);
        $this->db->delete($this->_table_name);
    }

}
?>
```
