bbp_filter_anonymous_post_data

  • apply_filters( 'bbp_filter_anonymous_post_data', $retval, $args )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-common-functions.php :: Trac Source Line: 748
      	// Website is optional
      	$bbp_anonymous_website = apply_filters( 'bbp_pre_anonymous_post_author_website', $bbp_anonymous_website );
      
      	if ( !bbp_has_errors() )
      		$retval = compact( 'bbp_anonymous_name', 'bbp_anonymous_email', 'bbp_anonymous_website' );
      	else
      		$retval = false;
      
      	// Finally, return sanitized data or false
      	return apply_filters( 'bbp_filter_anonymous_post_data', $retval, $args );
      }
      
      /**
       * Check for duplicate topics/replies
       *
       * Check to make sure that a user is not making a duplicate post
       *
       * @since bbPress (r2763)
       *
       * @param array $post_data Contains information about the comment
      

Comments are closed.