Changeset 1158

Show
Ignore:
Timestamp:
04/25/04 00:28:18 (4 years ago)
Author:
saxmatt
Message:

Added filter and action hooks.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-mail.php

    r1153 r1158  
    107107    $content = trim($content); 
    108108 
    109     $content = trim($content); 
     109    $content = apply_filters('phone_content', $content); 
    110110 
    111111    $post_title = xmlrpc_getposttitle($content); 
     
    125125    $post_ID = $wpdb->insert_id; 
    126126 
    127  
     127    do_action('publish_post', $post_ID); 
     128    do_action('publish_phone', $post_ID); 
    128129    pingback($content, $post_ID); 
    129130