File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,6 @@ function hwp_previews_constants(): void {
8080function hwp_previews_init (): void {
8181 hwp_previews_constants ();
8282
83-
8483 if ( defined ( 'HWP_PREVIEWS_PLUGIN_DIR ' ) ) {
8584 require_once HWP_PREVIEWS_PLUGIN_DIR . 'src/Plugin.php ' ;
8685 Plugin::instance ();
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public static function init_class_properties(): void {
5555 public static function register_settings_pages (): void {
5656 add_action ( 'admin_menu ' , static function (): void {
5757
58- $ post_types = ( null === self ::$ types_config ) ? [] : self ::$ types_config ->get_post_types ();
58+ $ post_types = ( null === self ::$ types_config ) ? [] : self ::$ types_config ->get_public_post_types ();
5959
6060 /**
6161 * Array of post types where key is the post type slug and value is the label.
You can’t perform that action at this time.
0 commit comments