wp_register_comment_personal_data_eraser

Advertisement

Summery Summery

Registers the personal data eraser for comments.

Syntax Syntax

wp_register_comment_personal_data_eraser( array $erasers )

Parameters Parameters

$erasers

(Required) An array of personal data erasers.

Return Return

(array) An array of personal data erasers.

Source Source

File: wp-includes/comment.php

	/**
	 * Filters whether an empty comment should be allowed.
	 *
	 * @since 5.1.0
	 *
	 * @param bool  $allow_empty_comment Whether to allow empty comments. Default false.
	 * @param array $commentdata         Array of comment data to be sent to wp_insert_comment().
	 */

Advertisement

Changelog Changelog

Changelog
Version Description
4.9.6 Introduced.

Advertisement

Leave a Reply