On this page
apply_filters( 'should_load_remote_block_patterns', bool $should_load_remote )
Filter to disable remote block patterns.
Parameters
$should_load_remotebool
Source
File: wp-includes/block-patterns.php. View all references
$should_load_remote = apply_filters( 'should_load_remote_block_patterns', true );
Related
Used By
| Used By | Description |
|---|---|
| _register_remote_theme_patterns() wp-includes/block-patterns.php | Registers patterns from Pattern Directory provided by a theme’s |
| _load_remote_featured_patterns() wp-includes/block-patterns.php | Register |
| _load_remote_block_patterns() wp-includes/block-patterns.php | Register Core’s official patterns from wordpress.org/patterns. |
Changelog
| Version | Description |
|---|---|
| 5.8.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/should_load_remote_block_patterns