Skip to content

Commit 215745b

Browse files
authored
Update CPT.php
1 parent ec0a318 commit 215745b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/classes/Admin/CPT.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function init(): void {
7777
/**
7878
* Register my-app custom post type
7979
*/
80-
public static function register_cpt(): void {
80+
public function register_cpt(): void {
8181

8282
$labels = [
8383
'name' => \esc_html__( 'my-app', 'wp_react_plugin' ),

0 commit comments

Comments
 (0)