bbp_pre_anonymous_post_author_email

bbp_pre_anonymous_post_author_email

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_email') is found 1 times:

  • /includes/common/functions.php line 560
    		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'] );
    	if ( empty( $r['bbp_anonymous_email'] ) ) {
    		bbp_add_error( 'bbp_anonymous_email', __( '<strong>Error</strong>: Invalid email address.', 'bbpress' ) );
    	}
    
    	// Website is optional (can be empty)
    	$r['bbp_anonymous_website'] = apply_filters( 'bbp_pre_anonymous_post_author_website', $r['bbp_anonymous_website'] );
    

See this hook used in plugins: