WP HOOKS
filtrod 4.9.6

wp_privacy_personal_data_erasers

Args 1Plik wp-admin/includes/ajax-actions.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the array of personal data eraser callbacks.

Parametry

ParametrTypOpis
$argsarray{ An array of callable erasers of personal data. Default empty array. @type array ...$0 { Array of personal data exporters. @type callable $callback Callable eraser that accepts an email address and a page number, and returns an array with boolean values for whether items were removed or retained and any messages from the eraser, as well as if additional pages are available. @type string $exporter_friendly_name Translated user facing friendly name for the eraser. } }

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'wp_privacy_personal_data_erasers', 'twoja_funkcja' );

function twoja_funkcja($param_1) {
	// Twój kod
}

Popularne w tej kategorii