wp_register_comment_personal_data_exporter()
Registers the personal data exporter for comments.
Хуков нет.
Возвращает
Массив[]
. An array of personal data exporters.
Использование
wp_register_comment_personal_data_exporter( $exporters );
- $exporters(array[]) (обязательный)
- An array of personal data exporters.
Список изменений
С версии 4.9.6 | Введена. |
Код wp_register_comment_personal_data_exporter() wp register comment personal data exporter WP 6.6.2
function wp_register_comment_personal_data_exporter( $exporters ) { $exporters['wordpress-comments'] = array( 'exporter_friendly_name' => __( 'WordPress Comments' ), 'callback' => 'wp_comments_personal_data_exporter', ); return $exporters; }