wpce_render_{$id} v1.0
Filters the rendered content of all elements with the ID $id.
WARNING
This hook is from a very early WPCE version and is not properly implemented as a WordPress filter.
That means: It receives the WPCE instance as its first parameter, but returns the rendered content as a string. Therefore it is not designed to have multiple filters attached to it.
Parameters
WPCE $wpceThe
WPCEinstance.object $elementThe element being rendered.
Example
php
// Declare how to render 'text' elements
add_filter('wpce_render_text', function (WPCE $wpce, $element) {
return <<<HTML
{$element->properties->text}
HTML;
}, 10, 2);