apply_filters( 'empty-element_{$element->slug}_editable', string $markup )

Description

Filter to alter the element markup which will beĀ used in the page builder

Availability

  • Backend
  • Empty Page Builder
  • Frontend

Since

2.5.2

Parameters

'empty-element_{$element->slug}_editable'
The dynamic part of the filter refers to elements slug which you want to alter the markup from.
Default elements slugs are text, media.
Those will extend when you add new elements Pro to your environment.
string $markup
Elements markup will be passed automatically to this filter

Return value

string
The elements altered markup