do_action( 'empty-element_{$element->slug}_before' )

Description

Action to output anything right before the elements content

Availability

  • Backend
  • Empty Page Builder
  • Frontend

Since

2.5.2

Parameters

'empty-element_{$element->slug}_before'
The dynamic part of the action refers to the elements slug which you want to modify.
Default elements slugs are text, media.
Those will extend when you add new elements Pro to your environment.

Return value