Documentation

apply_filters("whereused_scan_block", array $refs, array $block, array $ref)

Details

  • whereused_scan_block
  • filter
  • Active
  • 1.1.0

Description

WhereUsed is not aware of the functionality of a custom Gutenberg block. This hook allows you to intercept the scan of this block and create references using the Reference object.

Parameters

$refs array
Array of WhereUsed\Reference objects
$block array
Block getting scanned
$ref array
Reference details which will need to be passed to a new WhereUsed\Reference to add new references

If you notice any incorrect or missing information on this page, please let us know.