wp_privacy_personal_data_exporters

wp_privacy_personal_data_exporters

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('wp_privacy_personal_data_exporters') is found 4 times:

  • /wp-admin/includes/ajax-actions.php line 4988
    4984
    4985
    4986
    4987
    4988
    4989
    4990
    4991
    4992
    4993
    4994
    *                                                exporter.
     *     }
     * }
     */
    $exporters = apply_filters( 'wp_privacy_personal_data_exporters', array() );
     
    if ( ! is_array( $exporters ) ) {
        wp_send_json_error( __( 'An exporter has improperly used the registration filter.' ) );
    }
     
    // Do we have any registered exporters?
  • /wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php line 48

    * @return string Email column markup.
    */
    public function column_email( $item ) {
    /** This filter is documented in wp-admin/includes/ajax-actions.php */
    $exporters = apply_filters( ‘wp_privacy_personal_data_exporters’, array() );
    $exporters_count = count( $exporters );
    $status = $item->status;
    $request_id = $item->ID;
    $nonce = wp_create_nonce( ‘wp-privacy-export-personal-data-‘ . $request_id );

    $download_data_markup = ‘

  • /wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php line 120

    esc_html_e( ‘Waiting for confirmation’ );
    break;
    case ‘request-confirmed’:
    /** This filter is documented in wp-admin/includes/ajax-actions.php */
    $exporters = apply_filters( ‘wp_privacy_personal_data_exporters’, array() );
    $exporters_count = count( $exporters );
    $request_id = $item->ID;
    $nonce = wp_create_nonce( ‘wp-privacy-export-personal-data-‘ . $request_id );

    echo ‘

  • /wp-admin/includes/privacy-tools.php line 815
    811
    812
    813
    814
    815
    816
    817
    818
    819
    820
    update_post_meta( $request_id, '_export_data_raw', $export_data );
     
    // If we are not yet on the last page of the last exporter, return now.
    /** This filter is documented in wp-admin/includes/ajax-actions.php */
    $exporters        = apply_filters( 'wp_privacy_personal_data_exporters', array() );
    $is_last_exporter = count( $exporters ) === $exporter_index;
    $exporter_done    = $response['done'];
    if ( ! $is_last_exporter || ! $exporter_done ) {
        return $response;
    }

See this hook used in plugins: