bbp_pre_anonymous_post_author_name
bbp_pre_anonymous_post_author_name
Appears in: bbpress.2.5.14, bbpress.2.6.0, bbpress.2.6.1, bbpress.2.6.11, bbpress.2.6.2, bbpress.2.6.3, bbpress.2.6.4, bbpress.2.6.5, bbpress.2.6.6, bbpress.2.6.9
Hook Type: filter
See hook in action
Displaying hooks found in version: bbpress.2.6.9apply_filters('bbp_pre_anonymous_post_author_name') is found 1 times:
- /includes/common/functions.php line 554
// Strip invalid characters $r = bbp_sanitize_anonymous_post_author( $r ); // Filter name $r['bbp_anonymous_name'] = apply_filters( 'bbp_pre_anonymous_post_author_name', $r['bbp_anonymous_name'] ); if ( empty( $r['bbp_anonymous_name'] ) ) { bbp_add_error( 'bbp_anonymous_name', __( '<strong>Error</strong>: Invalid author name.', 'bbpress' ) ); } // Filter email address $r['bbp_anonymous_email'] = apply_filters( 'bbp_pre_anonymous_post_author_email', $r['bbp_anonymous_email'] );