This method determines whether we need to override the regular password
check in core with a filter.
public can_access_password_content ( WP_Post $post, WP_REST_Request $request ) : boolean | ||
$post | WP_Post | Post to check against. |
$request | WP_REST_Request | Request data to check. |
리턴 | boolean | True if the user can access password-protected content, otherwise false. |