apply_filters( 'relevanssi_oxygen_element', array $element )
This filter hook filters Oxygen 4 JSON elements.
Parameters
$element
(array) The JSON element.
More information
Oxygen 4 no longer stores the page content as shortcodes in the ct_builder_shortcodes
custom field. The content is now in JSON format in ct_builder_json
, and Relevanssi looks for the content there.
Relevanssi takes the element content from the ct_content
field and also looks for any child elements for each element. The elements form a tree, and Relevanssi follows it recursively. Every element goes through this filter hook before processing, so if you have elements on your page you don’t want Relevanssi to index, you can use this filter hook to remove them.
If this filter hook returns an empty value, Relevanssi will not process the element.