Title: Make VIP_Request_Block::block_and_log() public to stop the need for duplicating functionality
Author: WordPress VIP Documentation
Published: February 23, 2021
Last modified: August 5, 2025

---

 1. [Changelog](https://docs.wpvip.com/changelog/)
 2. [VIP MU plugins [Production]](https://docs.wpvip.com/changelog/vip-mu-plugins-production/)
 3. Make VIP_Request_Block::block_and_log() public to stop the need for duplicating
    functionality

# Make VIP_Request_Block::block_and_log() public to stop the need for duplicating functionality

---

 23 February 2021

17:01:08 GMT+0000

 [ VIP MU plugins [Production] ](https://docs.wpvip.com/changelog/vip-mu-plugins-production/)

 [ Permalink  ](https://docs.wpvip.com/changelog/vip-mu-plugins-production/make-vip_request_blockblock_and_log-public-to-stop-the-need-for-duplicating-functionality/)

Previously if we wanted to block on something more custom that what was available
in VIP_Request_Block, we’d need to copy the functionality into vip-config.php. By
making VIP_Request_Block::block_and_log() public we no longer need to do this duplication.

[https://github.com/Automattic/vip-go-mu-plugins/pull/1993](https://github.com/Automattic/vip-go-mu-plugins/pull/1993)