diff options
Fixed the typos of the word 'Vehicle' in the cars cpt. (#58)
1 files changed, 3 insertions, 3 deletions
| -rw-r--r-- | wp-content/plugins/dx-cars/class.cpt.php | 6 |
diff --git a/wp-content/plugins/dx-cars/class.cpt.php b/wp-content/plugins/dx-cars/class.cpt.php index 0d0b4ab..378a082 100644 --- a/wp-content/plugins/dx-cars/class.cpt.php +++ b/wp-content/plugins/dx-cars/class.cpt.php @@ -8,16 +8,16 @@ class Vehicles { $arr = array( 'labels' => array( 'name' => __( 'Vehicles' ), - 'singular_name' => __( 'Vechicle' ) + 'singular_name' => __( 'Vehicle' ) ), 'public' => true, 'has_archive' => true, - 'rewrite' => array( 'slug' => 'vechicles' ), + 'rewrite' => array( 'slug' => 'vehicles' ), 'show_in_rest' => true, ); return $arr; } function cpt_create() { - register_post_type( 'vechicles', $this->labels() ); + register_post_type( 'vehicles', $this->labels() ); } } |
