WordPress.org

Plugin Directory


Ignore:
Timestamp:
07/09/09 13:18:26 (5 years ago)
Author:
alexkingorg
Message:

added two more filters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • twitter-tools/trunk/twitter-tools.php

    r128905 r133279  
    373373                    $content .= '<p class="aktt_credit">'.__('Powered by <a href="http://alexking.org/projects/wordpress">Twitter Tools</a>', 'twitter-tools').'</p>'; 
    374374                } 
    375  
    376375                $post_data = array( 
    377376                    'post_content' => $wpdb->escape($content), 
     
    382381                    'post_author' => $wpdb->escape($this->blog_post_author) 
    383382                ); 
     383                $post_data = apply_filters('aktt_digest_post_data', $post_data); // last chance to alter the digest content 
    384384 
    385385                $post_id = wp_insert_post($post_data); 
     
    799799    } 
    800800    $output .= ' <a href="'.aktt_status_url($aktt->twitter_username, $tweet->tw_id).'">'.$time_display.'</a>'; 
     801    $output = apply_filters('aktt_tweet_display', $output, $tweet); // allows you to alter the tweet display output 
    801802    return $output; 
    802803} 
Note: See TracChangeset for help on using the changeset viewer.