Permalink
Browse files

Added filter and action hooks.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent 2ae8704 commit 2f4218a08b011731fef994088e8ad7fe1c6fd563 saxmatt committed Apr 25, 2004
Showing with 3 additions and 2 deletions.
  1. +3 −2 wp-mail.php
View
@@ -106,7 +106,7 @@
$content = trim($content);
- $content = trim($content);
+ $content = apply_filters('phone_content', $content);
$post_title = xmlrpc_getposttitle($content);
@@ -124,7 +124,8 @@
$result = $wpdb->query($sql);
$post_ID = $wpdb->insert_id;
-
+ do_action('publish_post', $post_ID);
+ do_action('publish_phone', $post_ID);
pingback($content, $post_ID);
echo "\n<p><b>Posted title:</b> $post_title<br />";

0 comments on commit 2f4218a

Please sign in to comment.