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
99 link_rating wp-includes/links.php 378 Allows a plugin to modify the stored value of a link rating before it is used.
100 list_cats wp-includes/template-functions-category.php 186 called at two different times:

  1. once for each entry in the category list when wp_list_cats() or list_cats() is referenced in a theme. First parameter is the category name. The second optional parameter (for 1.5.1) is the category object.
  2. at the end of the category list. First parameter is the entire text of the list. No second parameter is passed.

If the second parameter is desired, be sure to provide a default value. Example that prints the category ID after the name and “end of list” at the bottom:

function foo_bar($content, $category = null) {
	if ($category == null) {
		return $content . '
  • (end of list)
  • ‘; } else { return $content . ” (ID={$category->cat_ID})”; } } add_filter(’list_cats’, ‘foo_bar’, 10, 2);

    101 list_cats wp-includes/template-functions-category.php 191  
    102 list_cats wp-includes/template-functions-category.php 252  
    103 list_cats wp-includes/template-functions-category.php 403  
    104 list_cats_exclusions wp-includes/template-functions-category.php 328  
    105 locale wp-includes/wp-l10n.php 21  
    106 loginout wp-includes/template-functions-general.php 35 Allows a plugin to modify the tag and text produced that link to the WordPress login page.

    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
    "The further the spiritual evolution of mankind advances, the more certain it seems to me that the path to genuine religiosity does not lie through the fear of life, and the fear of death, and blind faith, but through striving after rational knowledge." - Albert Einstein