diff options
| Commit | 1c86fe831289eee3d3c2c963885fd553f40f81d2 (patch) | |
|---|---|---|
| Author | 2020-07-15 20:43:05 +0300 | |
| Committer | 2020-07-15 20:43:05 +0300 | |
| Files | 1dc3d183affddf9c040eba8b9ec1e60c9e002d90 /wp-content/plugins/dx-cars/class.cpt.php | |
| tues-interns-2020-feature/offers-grid.tar tues-interns-2020-feature/offers-grid.tar.gz tues-interns-2020-feature/offers-grid.zip | ||
| Parent | 333668c49e98cdfc84cf0702f289bd149fc5fd25 (diff) | |
[fix] bring changes from master feature/offers-grid
1 files changed, 0 insertions, 23 deletions
| -rw-r--r-- | wp-content/plugins/dx-cars/class.cpt.php | 23 |
diff --git a/wp-content/plugins/dx-cars/class.cpt.php b/wp-content/plugins/dx-cars/class.cpt.php deleted file mode 100644 index 378a082..0000000 --- a/wp-content/plugins/dx-cars/class.cpt.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php -class Vehicles { - function init() { - add_action( 'init', array( $this, 'cpt_create' ) ); - } - - public function labels() { - $arr = array( - 'labels' => array( - 'name' => __( 'Vehicles' ), - 'singular_name' => __( 'Vehicle' ) - ), - 'public' => true, - 'has_archive' => true, - 'rewrite' => array( 'slug' => 'vehicles' ), - 'show_in_rest' => true, ); - return $arr; - } - - function cpt_create() { - register_post_type( 'vehicles', $this->labels() ); - } -} |
