wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



rest_prepare_block_pattern › Filtr WordPress Hooks

Od5.8.0
Przestarzałyn/a
› apply_filters( 'rest_prepare_block_pattern', $response, $raw_pattern, $request )
Parametry: (3)
  • () response The response object.
    Wymagane: Tak
  • () raw_pattern The unprepared block pattern.
    Wymagane: Tak
  • () request The request object.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the REST API response for a block pattern.





Źródło

return apply_filters( 'rest_prepare_block_pattern', $response, $raw_pattern, $request );