Changes between Version 1 and Version 2 of Ticket #22981, comment 16

Timestamp:
12/19/12 16:28:18 (5 months ago)
Author:
PeteMall
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22981, comment 16

    v1 v2  
    22> I haven't tested for functionality yet, but an additional filter for post_type in [attachment:wp-twitter-importer.2.zip], defaulting to `post`, would be ideal for maximum extendability. 
    33 
    4 You can set the post type using the `twitter_import_post_data` filter, which filters the entire array passed to `wp_insert_post()`.  Use something like this: 
     4You can set the post type using the `twitter-import-post-data` filter, which filters the entire array passed to `wp_insert_post()`.  Use something like this: 
    55{{{ 
    66function twitter_import_post_data( $post ) {