Skip to:
Content

bbPress.org


Ignore:
Timestamp:
04/15/2012 01:49:07 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Introduce bbp_parse_args() and pass filter keys into its usages.

  • Parsed args to be passively or aggressively filtered
  • Allows functions that normally require passing parsed $args to instead filter or override results
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-core-update.php

    r3798 r3840  
    170170        'reply_content' => __( 'Oh, and this is what a reply looks like.', 'bbpress' ),
    171171    );
    172     $r = wp_parse_args( apply_filters( 'bbp_pre_create_initial_content', $args ), $defaults );
     172    $r = bbp_parse_args( $args, $defaults, 'create_initial_content' );
    173173    extract( $r );
    174174
Note: See TracChangeset for help on using the changeset viewer.