Files
wordpress/wp-includes
noisysocks 3cd0e25c03 Filter custom block templates with PHP
This method calls get_block_templates once and uses block template properties
directly for filtering. This way, we can avoid hitting the database for each
public post type.

The previous method is useful when we already know the current post type we
request templates for, like when using REST API.

Follows [52334].
See #54335.
Props mamaduka, youknowriad.

Built from https://develop.svn.wordpress.org/trunk@52365


git-svn-id: http://core.svn.wordpress.org/trunk@51957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-12-14 02:46:00 +00:00
..
2021-12-14 01:57:26 +00:00
2021-12-06 06:20:27 +00:00
2021-12-14 01:57:26 +00:00
2021-12-14 01:57:26 +00:00
2021-12-14 01:57:26 +00:00
2021-12-14 01:57:26 +00:00
2021-12-14 01:57:26 +00:00
2021-12-06 21:30:03 +00:00
2021-12-14 01:57:26 +00:00
2021-12-14 01:57:26 +00:00
2021-11-30 00:24:27 +00:00