Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: wp_privacy_personal_data_export_page

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
4858       *
4859       * @param array  $response        The personal data for the given exporter and page.
4860       * @param int    $exporter_index  The index of the exporter that provided this data.
4861       * @param string $email_address   The email address associated with this personal data.
4862       * @param int    $page            The page for this response.
4863       * @param int    $request_id      The privacy request post ID associated with this request.
4864       * @param bool   $send_as_email   Whether the final results of the export should be emailed to the user.
4865       * @param string $exporter_key    The key (slug) of the exporter that provided this data.
4866       */
4867      $response = apply_filters( 'wp_privacy_personal_data_export_page', $response, $exporter_index, $email_address, $page, $request_id, $send_as_email, $exporter_key );
4868
4869      if ( is_wp_error( $response ) ) {
4870           wp_send_json_error( $response );
4871      }
4872
4873      wp_send_json_success( $response );
4874 }
4875
4876 /**