Plugin Directory

Opened 7 years ago

Last modified 7 years ago

#1271 new enhancement

Add support for custom post types

Reported by: erezie Owned by:
Priority: normal Severity: normal
Plugin: not-listed Keywords: custom post typeson publish


Would be good to have support for custom post types.

Here is the code that i use in my theme to enable it

  foreach($wp_post_types as $type => args)
      add_action("publish_" . $type, 'aktt_notify_twitter');

Ideally, the backend should provide a list of all the custom post types with a check box next to it. Checking one would enable the twitting of custom posts upon publishing.

Change History (1)

comment:1 @erezie7 years ago

  • Type changed from defect to enhancement
Note: See TracTickets for help on using tickets.