WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
5122 | * @since 4.9.6 |
5123 | * |
5124 | * @param array $response The personal data for the given exporter and page. |
5125 | * @param int $eraser_index The index of the eraser that provided this data. |
5126 | * @param string $email_address The email address associated with this personal data. |
5127 | * @param int $page The page for this response. |
5128 | * @param int $request_id The privacy request post ID associated with this request. |
5129 | * @param string $eraser_key The key (slug) of the eraser that provided this data. |
5130 | */ |
5131 | $response = apply_filters( 'wp_privacy_personal_data_erasure_page', $response, $eraser_index, $email_address, $page, $request_id, $eraser_key ); |
5132 |
|
5133 | if ( is_wp_error( $response ) ) { |
5134 | wp_send_json_error( $response ); |
5135 | } |
5136 |
|
5137 | wp_send_json_success( $response ); |
5138 | } |
5139 |
|
5140 | /** |