diff options
| Commit | 8afcd640327873a1c8bd6162785c050920566cf8 (patch) | |
|---|---|---|
| Author | 2020-07-15 09:33:12 +0300 | |
| Committer | 2020-07-15 09:33:12 +0300 | |
| Files | 7da1e3c64d1d115ceb51517b7931e4a7e6673178 /wp-content/plugins/dx-cars/class.cpt.php | |
| tues-interns-2020-feature/cookie-notice.tar tues-interns-2020-feature/cookie-notice.tar.gz tues-interns-2020-feature/cookie-notice.zip | ||
| Parent | 4d6f27167e27628c0a7ebc2b40eb01fd5b16597f (diff) | |
| Parent | 38f71eb84200aab19ae9f6e27102d05a10a6d0a1 (diff) | |
Sync feature/cookie-notice with the latest master and run Gulp for assets feature/cookie-notice
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() ); - } -} |
