Skip to content

Filter

Filter the content before the field.

apply_filters( 'tml_before_form_field', string $output, string $form_name, string $field_name, Theme_My_Login_Form_Field $field )

Parameters

$output string
The output.
$form_name string
The form name.
$field_name string
The field name
$field Theme_My_Login_Form_Field
The form object.

Source

Fired in Theme_My_Login_Form_Field::render()

$output = apply_filters( 'tml_before_form_field', $output, $this->form->get_name(), $this->name, $this );

Changelog

VersionDescription
7.0.13 Introduced.