Content Scheduler
Add column to Custom Post Type lists (1 post)

  1. TC.K
    Posted 3 years ago #


    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?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Content Scheduler
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic