Filter to disable remote block patterns.
Parameters
$should_load_remote
bool
Source
$should_load_remote = apply_filters( 'should_load_remote_block_patterns', true );
Changelog
Version | Description |
---|---|
5.8.0 | Introduced. |
Filter to disable remote block patterns.
$should_load_remote
bool$should_load_remote = apply_filters( 'should_load_remote_block_patterns', true );
Version | Description |
---|---|
5.8.0 | Introduced. |
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: