Make WordPress Core

Changeset 1158


Ignore:
Timestamp:
04/25/2004 12:28:18 AM (21 years ago)
Author:
saxmatt
Message:

Added filter and action hooks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.