[Plugin: Content Scheduler] Add column to Custom Post Type lists
-
Hi,
Hi I need this plugin to work with custom post type. I know this plugin will automatically add the content scheduler to all post, page and post type. However, when comes to the wp-admin/edit.php, there are no expiration dates add to the list.
So I take a look into plugin codes and found this which believe these are the one that control the column in the page list.
add_action ( 'manage_posts_custom_column', array( $this, 'cs_show_expdate' ) ); add_filter ('manage_posts_columns', array( $this, 'cs_add_expdate_column' ) );
I tried to add another filter to the custom post type, like these:
add_action ( 'manage_cpt_posts_custom_column', array( $this, 'cs_show_expdate' )); add_filter ('manage_cpt_posts_columns', array( $this, 'cs_add_expdate_column' ) );
Where cpt is the custom post type, however this won’t work, any idea why?
- The topic ‘[Plugin: Content Scheduler] Add column to Custom Post Type lists’ is closed to new replies.