apply_filters( 'should_load_remote_block_patterns', bool $should_load_remote )
Filter to disable remote block patterns.
Parameters
-
$should_load_remote
bool -
Source
File: wp-includes/block-patterns.php
.
View all references
$should_load_remote = apply_filters( 'should_load_remote_block_patterns', true );
Changelog
Version | Description |
---|---|
5.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
If you want to limit access to the remote block patterns to only admins, you can do so by verifying the capabilities of the user: