wpseek.com
A WordPress-centric search engine for devs and theme authors
_wp_privacy_resend_request is private and should not be used in themes or plugins directly.
_wp_privacy_resend_request › WordPress Function
Since4.9.6
Deprecatedn/a
› _wp_privacy_resend_request ( $request_id )
Access: |
|
Parameters: |
|
Returns: |
|
Defined at: |
|
Codex: |
Resend an existing request and return the result.
Source
function _wp_privacy_resend_request( $request_id ) { $request_id = absint( $request_id ); $request = get_post( $request_id ); if ( ! $request || 'user_request' !== $request->post_type ) { return new WP_Error( 'privacy_request_error', __( 'Invalid personal data request.' ) ); } $result = wp_send_user_request( $request_id ); if ( is_wp_error( $result ) ) { return $result; } elseif ( ! $result ) { return new WP_Error( 'privacy_request_error', __( 'Unable to initiate confirmation for personal data request.' ) ); } return true; }