bbp_pre_anonymous_post_author_name

bbp_pre_anonymous_post_author_name

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_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'] );
    

See this hook used in plugins: