We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edec4b0 commit d691982Copy full SHA for d691982
plugins/hwp-previews/src/Hooks/Preview_Hooks.php
@@ -92,6 +92,7 @@ public static function add_filters_actions(): void {
92
* this must be removed when properly fixed https://github.com/WordPress/gutenberg/issues/13998.
93
*/
94
foreach ( self::$types_config->get_public_post_types() as $key => $label ) {
95
+ // @psalm-suppress PossiblyInvalidArgument
96
add_filter( 'rest_prepare_' . $key, [ self::class, 'filter_rest_prepare_link' ], 10, 2 );
97
}
98
0 commit comments