Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: phone_content

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
102           $content = strip_tags($content[1], '<img><p><br><i><b><u><em><strong><strike><font><span><div>');
103      }
104      $content = trim($content);
105
106      echo "<p><b>Content-type:</b> $content_type, <b>boundary:</b> $boundary</p>\n";
107      echo "<p><b>Raw content:</b><br /><pre>".$content.'</pre></p>';
108
109      $content = trim($content);
110
111      $content = apply_filters('phone_content', $content);
112
113      $post_title = xmlrpc_getposttitle($content);
114
115      if ($post_title == '') $post_title = $subject;
116
117      if (empty($post_categories)) $post_categories[] = get_settings('default_category');
118
119      $post_title = addslashes(trim($post_title));
120      $content = preg_replace("|\n([^\n])|", " $1", $content);