Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/03/2012 10:14:32 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Mentions:

  • Add username @-mention filters.
  • Automatically links to profiles when @username is used in a topic or reply content area.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/core/filters.php

    r4304 r4323  
    128128add_filter( 'bbp_get_reply_content', 'convert_smilies',    20   );
    129129add_filter( 'bbp_get_reply_content', 'wpautop',            30   );
     130add_filter( 'bbp_get_reply_content', 'bbp_mention_filter', 40   );
    130131
    131132// Run filters on topic content
     
    137138add_filter( 'bbp_get_topic_content', 'convert_smilies',    20   );
    138139add_filter( 'bbp_get_topic_content', 'wpautop',            30   );
     140add_filter( 'bbp_get_topic_content', 'bbp_mention_filter', 40   );
    139141
    140142// Add number format filter to functions requiring numeric output
Note: See TracChangeset for help on using the changeset viewer.