Contact: Web / Voice / Email / Tips
Simple Thoughts Blog - Java and Web Technologies

Simple solutions for complex problems.

 

WordPress 2.x Filter List for Plugin and Theme Developers

April 11th, 2006 by Angsuman Chakraborty

A B C D E F G H I K L M N O P Q R S T U V W X Y

No. Filter Name File Line No. Description
12 category_description wp-includes/template-functions-category.php 161 applied to the “description” field of comments.
13 category_feed_link wp-includes/feed-functions.php 125  
14 category_link wp-includes/template-functions-category.php 51  
15 category_rewrite_rules wp-includes/classes.php 1334  
16 category_save_pre wp-includes/functions-post.php 236  
17 category_save_pre wp-includes/functions-post.php 29  
18 category_template wp-includes/functions.php 1951  
19 comment_agent wp-includes/comment-functions.php 115  
20 comment_author wp-includes/comment-functions.php 116  
21 comment_author wp-includes/comment-functions.php 357  
22 comment_author_IP wp-includes/comment-functions.php 118  
23 comment_author_email wp-includes/comment-functions.php 120  
24 comment_author_rss wp-includes/feed-functions.php 70  
25 comment_author_url wp-includes/comment-functions.php 119  
26 comment_content wp-includes/comment-functions.php 117 preprocessing a new comment’s content prior to saving it in the database, called with the comment content passed as a string. Should return a string.
27 comment_edit_pre wp-admin/admin-functions.php 349 applied to comment content prior to display in editing screen
28 comment_email wp-includes/comment-functions.php 420  
29 comment_excerpt wp-includes/comment-functions.php 479  
30 comment_moderation_subject wp-includes/pluggable-functions.php 453  
31 comment_moderation_text wp-includes/pluggable-functions.php 452  
32 comment_notification_headers wp-includes/pluggable-functions.php 410  
33 comment_notification_subject wp-includes/pluggable-functions.php 409  
34 comment_notification_text wp-includes/pluggable-functions.php 408  
35 comment_save_pre wp-includes/comment-functions.php 191 applied to comment content when (re)saving comment from admin pages or XML-RPC
36 comment_status_pre wp-includes/functions-post.php 32  
37 comment_status_pre wp-includes/functions-post.php 238  
38 comment_text wp-includes/comment-functions.php 456 passed the comment text, as a string. The following (silly) plugin snippet would make all the comments display in boldface, but would not alter the comment text as stored in the database.
function bold_comment($comment = '') {
     return "$comment“;
}

add_filter(’comment_text’, ‘bold_comment’);

comment_url
    passed the commenter’s URL, if supplied. The following sample plugin will prepend all URLs with the Google redirector, without modifying the URL as stored in the database: 

function google_redirect($url = ”) {
     if (” != $url) {
          return “http://www.google.com/url?sa=D&q=$url”;
     }
}
add_filter(’comment_url’, ‘google_redirect’);

39 comment_text_rss wp-includes/feed-functions.php 78  
40 comment_url wp-includes/comment-functions.php 415  
41 comments_number wp-includes/comment-functions.php 263  
42 comments_popup_template wp-includes/functions.php 2019  
43 comments_rewrite_rules wp-includes/classes.php 1325  
44 comments_template wp-includes/comment-functions.php 40  
45 content_edit_pre wp-admin/admin-functions.php 288  
46 content_save_pre wp-content/themes/k2-svn/options/app/.svn/text-base/archive.php.svn-base 12  
47 content_save_pre wp-content/themes/k2-svn/options/app/archive.php 12  
48 content_save_pre wp-content/themes/k2/functions.php 81  
49 content_save_pre wp-includes/functions-post.php 233  
50 content_save_pre wp-includes/functions-post.php 26  
51 content_save_pre xmlrpc.php 540  
52 content_save_pre xmlrpc.php 622  
53 create_user_query wp-includes/registration-functions.php 67  

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25


Filed under CMS Software, Headline News, How To, Pro Blogging, Web, Web Services, WordPress | | RSS 2.0 | Trackback this Article | Email this Article

You may also like to read

»Anaconda 3 Column Theme Release Schedule
»How To Accept Multiple Parameters in WordPress Filters
»WordPress 2.x Hooks for Action - Comprehensive List for Plugin and Theme Developers
»Next Generation WordPress Theme Design - Giraffe
»How to add custom functions to a WordPress 1.5 theme?
»WordPress.com Copies Core Drupal Branding Theme Citing GPL
»List of Files Changed in WordPress 2.03 wrt. WordPress 2.02
»Anaconda: 3-Column WordPress Theme Sneak Preview
»New Forum for 3 Column widgetized Anaconda Theme ( WordPress )
»SemioLogic Theme is Illegally And Unethically Shipping Old Version of Translator Plugin
»Neat Three Column WordPress Theme - Alexified
»WordPress Plugin & Theme Cheat Sheet
»Testimonials: What Customers Are Saying About Angsuman's Translator Plugin Pro for WordPress Blogs
»When You Don't Receive Your Translator Plugin...
»Introducing Prologue for Corporate Communications

4 Responses to “WordPress 2.x Filter List for Plugin and Theme Developers”

  1. MacManX.com » Blogroll Dive: 4/17/06 Says:

    [...] a comprehensive list of WordPress v2.x filters for both plugin and theme developers. Add to: del.icio.us Filed under:Blogs [...]

  2. Weblog Tools Collection » List of WordPress 2.x Filters Says:

    [...] WordPress 2.x Filters Comprehensive List for Plugin and Theme Developers. I like this list and have come across something similar on the Codex but I cannot recall the URI. Also look for Wordpress 2.x Hooks from Angsuman. My only gripe is the presentation, but thats the author’s choice and the nature of the beast. Technorati Tags: wordpress filters wordpress hook   [...]

  3. TechPush Says:

    [...] Simple Thoughts的Wordpress 2.× Filter完全列表,对于WP插件和主题的开发者很有用。 将本文保存到:These icons link to social bookmarking sites where readers can share and discover new web pages. [...]

  4. cat litter Says:

    *taps fingers on desk and wonders why nobody is postin*

    \”Postin\” -Southern Verb, to post. lol

Looking forward to hear your thoughts.



Please enter the code shown below ( to verify that you are human ) before you click Submit Comment.

No. 1 method to ethically increase your blog traffic and reach.

Translate

Translate to EnglishÜbersetzen Sie zum Deutsch/GermanPřeložit do Čech/CzechOversætte hen til Dansk/DanishKääntää jotta Finnish/FinnishLefordít -hoz Magyar/HungarianÞýða til Íslenska/IcelandicTraducir a Latinoamericano Español/Latin American Spanishtagapagsalin sa Filipino/FilipinoTłumaczyć wobec Polski/PolishA traduce la spre Român/RomanianPrevesti za Srpski/Serbiantolmačiti v slovenski/SlovenianÖversätta till Svensk/SwedishChyfieitha at Cymraeg/Welshtercüme etmek -e doğru Türk/TurkishPrevesti to Hrvatski/CroatianПревеждам към Българин/BulgarianTraduzca al Español/SpanishTraduisez au Français/FrenchTraduca ad Italiano/ItalianTraduza ao Português/Portuguese日本語に翻訳しなさい /Japanese한국어에게 번역하십시오/Korean中文翻译/Chinese Simplifiedترجمة الى العربية/ArabicVertaal aan het Nederlands/DutchΜεταφράστε στα ελληνικά/GreekПереведите к русскому/RussianOversetter til Norsk/Norwegian中文翻译/Chinese TraditionalTraduzir a Língua portuguesa brasileira/Brazilian PortugueseReddo ut Latin/Latin

Taragana Network

»Ctrl-S
»Enterprise Blog
»Free Book on Eye Care by Natural Therapy
»Health Care Blog
»Hot Computer Jobs Blog
»Pet Care & Grooming News and Tips
»Phil Law Blog
»Taragana - Software Outsourcing
»The Angsuman Chakraborty Blog
»The Diabetes Cure Blog
»The Eye Treatment Blog
»The Stem Cell Blog
»Weblog Hosting Blog
"Too many of us look upon Americans as dollar chasers. This is a cruel libel, even if it is reiterated thoughtlessly by the Americans themselves." - Albert Einstein