Custom Post Types not showing
-
Custom post types are not showing in the Context dropdown. Manually changing the URL
context
to the post type slug shows all the activity. It seems$wp_post_types
variable is being used, but apparently is being called before post types are registered viainit
at priority10
.In
classes/class-plugin.php
, line 141// Load settings and connectors after widgets_init and before the default init priority. add_action( 'init', array( $this, 'init' ), 9 );
Needs to be set to priority above
10
to allow for custom post types.
- The topic ‘Custom Post Types not showing’ is closed to new replies.